summaryrefslogtreecommitdiff
path: root/tests/system-userspace-macros.at
diff options
context:
space:
mode:
authorYi-Hung Wei <yihung.wei@gmail.com>2017-12-07 10:40:04 -0800
committerJustin Pettit <jpettit@ovn.org>2017-12-07 13:50:29 -0800
commitc43a133198667c3e3dbf356968d6c48a547f34ee (patch)
tree475c78ab432699d605778aa08c37722b935d7b57 /tests/system-userspace-macros.at
parent817a76577fec3f03310d7d3a5a10df01340ee8ad (diff)
downloadopenvswitch-c43a133198667c3e3dbf356968d6c48a547f34ee.tar.gz
dpctl: Support flush conntrack by conntrack 5-tuple
With this patch, "flush-conntrack" in ovs-dpctl and ovs-appctl accept a conntrack 5-tuple to delete the conntrack entry specified by the 5-tuple. For example, user can use the following command to flush a conntrack entry in zone 5. $ ovs-dpctl flush-conntrack zone=5 \ 'ct_nw_src=10.1.1.2,ct_nw_dst=10.1.1.1,ct_nw_proto=17,ct_tp_src=2,ct_tp_dst=1' $ ovs-appctl dpctl/flush-conntrack zone=5 \ 'ct_nw_src=10.1.1.2,ct_nw_dst=10.1.1.1,ct_nw_proto=17,ct_tp_src=2,ct_tp_dst=1' VMWare-BZ: #1983178 Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'tests/system-userspace-macros.at')
-rw-r--r--tests/system-userspace-macros.at10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at
index d3d27bb2b..f22061298 100644
--- a/tests/system-userspace-macros.at
+++ b/tests/system-userspace-macros.at
@@ -99,3 +99,13 @@ m4_define([CHECK_CONNTRACK_LOCAL_STACK],
# datapath supports NAT.
#
m4_define([CHECK_CONNTRACK_NAT])
+
+# CHECK_CT_DPIF_FLUSH_BY_CT_TUPLE()
+#
+# Perform requirements checks for running ovs-dpctl flush-conntrack by
+# conntrack 5-tuple test. The userspace datapath does not support
+# this feature yet.
+m4_define([CHECK_CT_DPIF_FLUSH_BY_CT_TUPLE],
+[
+ AT_SKIP_IF([:])
+])