[ovs-discuss] 答复: How can I delete flows which match a given cookie value?
Yi Yang (杨燚)-云服务集团
yangyi01 at inspur.com
Wed Jul 17 01:55:57 UTC 2019
Thanks Ben, it works.
-----邮件原件-----
发件人: Ben Pfaff [mailto:blp at ovn.org]
发送时间: 2019年7月17日 1:04
收件人: Yi Yang (杨燚)-云服务集团 <yangyi01 at inspur.com>
抄送: ovs-discuss at openvswitch.org; ovs-dev at openvswitch.org
主题: Re: [ovs-discuss] How can I delete flows which match a given cookie value?
On Tue, Jul 16, 2019 at 09:35:06AM +0000, Yi Yang (杨燚)-云服务集团 wrote:
> I need to add and delete flows according to user operations, I know
> openflowplugin in Opendaylight can do this, but it seems “ovs-ofctl
> del-flows” can’t do this way, why can’t cookie value be used to do
> this for “ovs-ofctl del-flows”?
>
>
>
> sudo ovs-ofctl -Oopenflow13 --strict del-flows br-int "table=2,cookie=12345"
To match on a cookie, specify a mask, e.g. cookie=12345/-1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3600 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190717/c8a0f315/attachment.p7s>
More information about the discuss
mailing list