summaryrefslogtreecommitdiff
path: root/tests/ovs-ofctl.at
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2016-08-18 14:09:41 -0700
committerJustin Pettit <jpettit@ovn.org>2016-09-23 12:06:59 -0700
commit2a7c4805a76d5a06f28346e1cf992c57b1c8871d (patch)
tree45a8d647675d6ddf8d19a352af26f18823a0040b /tests/ovs-ofctl.at
parent14338f2263f5242f5caa3f97831961836e8891b8 (diff)
downloadopenvswitch-2a7c4805a76d5a06f28346e1cf992c57b1c8871d.tar.gz
Add OpenFlow command to flush conntrack table entries.
Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/ovs-ofctl.at')
-rw-r--r--tests/ovs-ofctl.at13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ovs-ofctl.at b/tests/ovs-ofctl.at
index 8747a069d..da7b262b5 100644
--- a/tests/ovs-ofctl.at
+++ b/tests/ovs-ofctl.at
@@ -3086,3 +3086,16 @@ vconn|DBG|unix: sent (Success): OFPST_FLOW reply (OF1.4):
OVS_VSWITCHD_STOP
AT_CLEANUP
+
+
+AT_SETUP([ovs-ofctl ct-flush-zone])
+OVS_VSWITCHD_START
+
+AT_CHECK([ovs-appctl vlog/set ct_dpif:dbg])
+AT_CHECK([ovs-ofctl ct-flush-zone br0 123])
+
+OVS_WAIT_UNTIL([grep -q "|ct_dpif|DBG|.*ct_flush:" ovs-vswitchd.log])
+AT_CHECK([grep -q "ct_dpif|DBG|.*ct_flush: 123" ovs-vswitchd.log])
+
+OVS_VSWITCHD_STOP
+AT_CLEANUP