summaryrefslogtreecommitdiffstats
path: root/tests/monitor/testcases/map-expr.t
blob: 8729c0b44ee2c94abe6273269035c3e76a600bac (plain)
1
2
3
4
5
6
# first the setup
I add table ip t
I add map ip t m { typeof meta day . meta hour : verdict; flags interval; counter; }
O -
J {"add": {"table": {"family": "ip", "name": "t", "handle": 0}}}
J {"add": {"map": {"family": "ip", "name": "m", "table": "t", "type": ["day", "hour"], "handle": 0, "map": "verdict", "flags": ["interval"], "stmt": [{"counter": null}]}}}