Thread (1 message) 1 message, 1 author, 2016-03-14

Re: [PATCH v2 net-next] ovs: allow nl 'flow set' to use ufid without flow key

From: David Miller <hidden>
Date: 2016-03-14 02:20:21

From: Samuel Gauthier <redacted>
Date: Thu, 10 Mar 2016 17:14:59 +0100
When we want to change a flow using netlink, we have to identify it to
be able to perform a lookup. Both the flow key and unique flow ID
(ufid) are valid identifiers, but we always have to specify the flow
key in the netlink message. When both attributes are there, the ufid
is used. The flow key is used to validate the actions provided by
the userland.

This commit allows to use the ufid without having to provide the flow
key, as it is already done in the netlink 'flow get' and 'flow del'
path. The flow key remains mandatory when an action is provided.

Signed-off-by: Samuel Gauthier <redacted>
Applied.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help