summaryrefslogtreecommitdiffstats
path: root/tests/monitor/testcases/flowtable-simple.t
blob: 11254c51fcab7b81f6e2ad35c693b72a5c7ef6ac (plain)
1
2
3
4
5
6
7
8
9
10
# setup first
I add table ip t
I add flowtable ip t ft { hook ingress priority 0; devices = { "lo" }; }
O -
J {"add": {"table": {"family": "ip", "name": "t", "handle": 0}}}
J {"add": {"flowtable": {"family": "ip", "name": "ft", "table": "t", "handle": 0, "hook": "ingress", "prio": 0, "dev": "lo"}}}

I delete flowtable ip t ft
O -
J {"delete": {"flowtable": {"family": "ip", "name": "ft", "table": "t", "handle": 0}}}