I don't think OpenFlow v.1.3 has such a feature, but how about adding a
counter in your Ryu app to keep track of added/removed rules...

On Wed, Feb 28, 2018 at 11:53 AM, ‏Eman ‏ Bany salameh via Ryu-devel <
ryu-devel@lists.sourceforge.net> wrote:

> Hi,
>
> I need to know the number of flows installed on the switch before adding
> new one. What I did before is to request stat from the switch then read the
> length of the list returned.
> This way is not useful for me.
> Is there any way to count them inside packet-in handler before adding new
> flow? I want to limit the number of flows added to 1500.
>
> Regards,
> Eman Bany Salameh
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to