[ovs-dev] Cookie update on flow modify

Ben Pfaff blp at ovn.org
Wed Aug 21 20:54:11 UTC 2019

On Wed, Aug 21, 2019 at 07:17:26PM +0000, Karthik Chandrashekar wrote:
> From the latest OpenFlow spec we currently don't allow modification of cookie value when we modify the flow (OFPFC_MODIFY or OFPFC_MODIFY_STRICT).
> However OpenFlow 1.0 supported change of cookie while performing modify. Can I know why this support for removed? Pointers to any previous design discussions would help.

A single flow_cookie field in the flow_mod would not ordinarily be able
to usefully serve both the purpose of matching and updating flow cookies
at the same time.  I think that the ability to match on flow cookies was
considered more useful.  The possibility of having separate flow_mod
fields for matching and updating flow_cookie wasn't considered, if I
recall correctly.

More information about the dev mailing list