[ovs-discuss] Modify 'only' cookie

Ben Pfaff blp at ovn.org
Thu Jun 22 03:30:55 UTC 2017


On Wed, Jun 21, 2017 at 05:11:48AM +0000, Deepak S wrote:
> Hello,
> 
> 
> Is there a way to update a flow by changing only the cookie field?
> 
> 
> What works:
> 
> ovs-ofctl mod-flows br0 cookie=1/-1,cookie=2,actions=normal
> 
> What I would like to have:
> 
> ovs-ofctl mod-flows br0 cookie=1/-1,cookie=2
> 
> This is required for a particular restart scenario where stale flows are deleted based on cookie.

OpenFlow doesn't have a way to modify the cookie fields without
modifying the actions.


More information about the discuss mailing list