[ovs-discuss] dump flows for cookie
Wayne Marsh
wayne at heimdallnetworks.com
Thu Sep 10 17:46:54 UTC 2015
Hello all,
I could like to get a list of flows for a given cookie.
Using:
ovs-ofctl -O OpenFlow13 dump-flows NFE cookie=0x8
I get an error:
cannot set cookie
I've tried the command without a flow to match against and all flow entries
are listed. Setting nw_src works as expected, but I won't have this
information going in. I would like to avoid trying to keep track of what's
on the switch in a database.
Is there a technical reason why I cannot search for a flow entry for a
given cookie? I can delete flows for a given cookie by passing the cookie
and a cookie mask of 0xffffffffffffffff.
If I have a group of flow entries that I'm going to want to delete at the
same time, I will assign them the same cookie. However, if I want to look
up a rule given it's opaque id - cookie - I've run into nothing but
limitations where I would have to effectively manually filter a dump of all
flows in source or maintain an external database of rules on the switch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150910/e401871c/attachment-0002.html>
More information about the discuss
mailing list