[ovs-dev] Delete Flows matching specific cookie - OpenFlow 1.3.5 Spec support by OpenVSwitch

IWAMOTO Toshihiro iwamoto at valinux.co.jp
Tue Apr 24 01:41:48 UTC 2018


On Tue, 24 Apr 2018 08:16:45 +0900,
Carlos Ferreira wrote:
> 
> Hello to all
> 
> According to the OpenFlow 1.3.5 spec, page 44 specifies the following:
> 
> 
> "Modify and delete commands can also be filtered by cookie value, if
> the cookie_mask field contains
> a value other than 0. This constraint is that the bits specified by
> the cookie_mask in both
> the cookie field of the flow mod and a flow entry’s cookie value must
> be equal. In other words,
> (flow entry.cookie&flow mod.cookie mask) == (flow mod.cookie&flow
> mod.cookie mask)."

OpenStack Neutron is doing that.

http://git.openstack.org/cgit/openstack/neutron/tree/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#n161

Do you get any error messages?

--
IWAMOTO Toshihiro



More information about the dev mailing list