



asked 2015-02-27 12:43:41 -0700

rolecram gravatar image


thank you in advance,


edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-03-01 23:28:34 -0700

Vishal Thapar gravatar image

Use Flow Cookies. You can use cookie field to group similar flows and then do a bulk-delete using the cookie-id.

edit flag offensive delete publish link more


Thank you for your response. Is it possible to give a flow cookie through the REST API? regards,

rolecram ( 2015-03-02 04:21:45 -0700 )edit

Yes, you can specify cookie through rest API similar to way you give priority.

Vishal Thapar ( 2015-03-02 21:45:59 -0700 )edit

Can this be used across multiple switches? e.g. I have flow x on one node and flow y on another, both with cookie z. Can I ask the controller to delete all flows with cookie z with one request?

B.Cogan ( 2015-03-04 08:57:16 -0700 )edit

No, cookie's scope is within a switch so it will require N flow delete messages for N switches. One could write a switch-aggregator type app on ODL which could do the what you want, take single cookie for flow delete and send it to all switches, but there isn't any app like that as of today.

Vishal Thapar ( 2015-03-04 20:06:06 -0700 )edit
Login/Signup to Answer


Asked: 2015-02-27 12:43:41 -0700

Seen: 1,150 times

Last updated: Mar 01 '15