summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/flowtable.t.json.output
blob: d0b3a957f01b5909391fa62cdf21be3d41d7b68f (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter }
[
    {
        "meter": {
            "key": {
                "elem": {
                    "timeout": 600,
                    "val": {
                        "concat": [
                            {
                                "meta": { "key": "iif" }
                            },
                            {
                                "payload": {
                                    "field": "saddr",
                                    "protocol": "ip6"
                                }
                            }
                        ]
                    }
                }
            },
            "name": "acct_out",
            "size": 4096,
            "stmt": {
                "counter": null
            }
        }
    }
]

# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter }
[
    {
        "meter": {
            "key": {
                "elem": {
                    "timeout": 600,
                    "val": {
                        "concat": [
                            {
                                "payload": {
                                    "field": "saddr",
                                    "protocol": "ip6"
                                }
                            },
                            {
                                "meta": { "key": "iif" }
                            }
                        ]
                    }
                }
            },
            "name": "acct_out",
            "size": 12345,
            "stmt": {
                "counter": null
            }
        }
    }
]