Deleting and clearing flow table

  • 1 Replies
  • 1851 Views
*

M.Ibrahem

  • Newbie
  • *
  • 26
    • View Profile
Deleting and clearing flow table
« on: October 17, 2017, 02:15:37 AM »
Hello Guys,
how can i clear the flow table of zodiac or delete each flow for each packet rule?
i am using Ryu controller.
thanks in advance.

*

jmoeyersons

  • Newbie
  • *
  • 2
    • View Profile
Re: Deleting and clearing flow table
« Reply #1 on: October 19, 2017, 12:28:54 AM »
Hi,

You can do it on several ways:
1) Go to the Zodiac webpage (standard 10.0.1.99) --> flows and at the bottom you can click clear flow table
2) You can also delete it with the ryu-controller (all of them or some of them), maybe you can run the ofctl_rest.py application (and use the API to delete some flows: http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#delete-flow-entry-strictly) or from a custom application (you can use information in this: http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#modify-state-messages)

Hope this works for you!

Kind regards,

Jerico