]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
dpctl: Support flush conntrack by conntrack 5-tuple
authorYi-Hung Wei <yihung.wei@gmail.com>
Thu, 7 Dec 2017 18:40:04 +0000 (10:40 -0800)
committerJustin Pettit <jpettit@ovn.org>
Thu, 7 Dec 2017 21:50:29 +0000 (13:50 -0800)
commitc43a133198667c3e3dbf356968d6c48a547f34ee
tree475c78ab432699d605778aa08c37722b935d7b57
parent817a76577fec3f03310d7d3a5a10df01340ee8ad
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>
NEWS
lib/ct-dpif.c
lib/ct-dpif.h
lib/dpctl.c
lib/dpctl.man
tests/system-kmod-macros.at
tests/system-traffic.at
tests/system-userspace-macros.at
utilities/ovs-dpctl.c