summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/sets.t.json.got
blob: 114b17c42903e36a2be9f85967fd3773bd289664 (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
# add @map1 { ip6 saddr . ip6 daddr : meta mark }
[
    {
        "map": {
            "data": {
                "meta": {
                    "key": "mark"
                }
            },
            "elem": {
                "concat": [
                    {
                        "payload": {
                            "field": "saddr",
                            "protocol": "ip6"
                        }
                    },
                    {
                        "payload": {
                            "field": "daddr",
                            "protocol": "ip6"
                        }
                    }
                ]
            },
            "map": "@map1",
            "op": "add"
        }
    }
]