summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/dup.t.json
blob: 8a9493b3fe8a500f8e7c77a5cf924600bcaf8faa (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
# dup to abcd::1
[
    {
        "dup": {
            "addr": "abcd::1"
        }
    }
]

# dup to abcd::1 device "lo"
[
    {
        "dup": {
            "addr": "abcd::1",
            "dev": "lo"
        }
    }
]

# dup to ip6 saddr map { abcd::1 : cafe::cafe } device "lo"
[
    {
        "dup": {
            "addr": {
                "map": {
                    "key": {
                        "payload": {
                            "field": "saddr",
                            "protocol": "ip6"
                        }
                    },
                    "data": {
                        "set": [
                            [
                                "abcd::1",
                                "cafe::cafe"
                            ]
                        ]
                    }
                }
            },
            "dev": "lo"
        }
    }
]