summaryrefslogtreecommitdiffstats
path: root/tests/py/netdev/fwd.t.json
blob: 583606c006691f4acf70eb676947fda8fb248192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# fwd to "lo"
[
    {
        "fwd": {
            "dev": "lo"
	}
    }
]

# fwd to meta mark map { 0x00000001 : "lo", 0x00000002 : "lo"}
[
    {
        "fwd": {
            "dev": {
                "map": {
                    "key": {
                        "meta": { "key": "mark" }
                    },
                    "data": {
                        "set": [
                            [
                                "0x00000001",
                                "lo"
                            ],
                            [
                                "0x00000002",
                                "lo"
                            ]
                        ]
                    }
                }
            }
        }
    }
]

# fwd ip to 192.168.2.200 device "lo"
[
    {
        "fwd": {
            "addr": "192.168.2.200",
            "dev": "lo",
            "family": "ip"
        }
    }
]