Hi Iwase,
I just tested this, It works neatly.
Thanks
Suresh
On Thu, Mar 1, 2018 at 10:32 AM, Iwase Yusuke
wrote:
> Hi,
>
> Excuse me for jumping in.
>
> How about sending OFPAggregateStatsRequest in synchronous way?
> You can use "ryu.app.ofctl.api" to send an OpenFlow message synchronously.
Hi,
Excuse me for jumping in.
How about sending OFPAggregateStatsRequest in synchronous way?
You can use "ryu.app.ofctl.api" to send an OpenFlow message synchronously.
http://ryu.readthedocs.io/en/latest/app/ofctl.html
$ git diff
diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch
The counter has to be incremented when you add the flows add_flows(not
packet-in) and to be decremented flow-removed event message.
On Wed, Feb 28, 2018 at 7:39 PM, Eman Bany salameh <
banysalam...@yahoo.com> wrote:
> Hi all,
>
> Thanks for your replays.
>
> Yes, I decrement the counter when
Hi all,
Thanks for your replays.
Yes, I decrement the counter when the flow removed by idle_timeout and used
flow-removed_handler to know this. But the problem in this case is the
packet-in generated more than once for the same packet but the flow is added
once and this increments the counter
You could look for flow-removed messages from switch and use that to adjust
flows installed in your app accordingly.
In OpenFlow version >= 1.4 you could use flow monitoring as well. This way you
can keep a check on flows in the switch.
7.3.5.19 Flow Monitoring
https://www.opennetworking.org/
If we maintain the count in SDN controller, There is a possibility of
mismatch in the count between the switch and controller .
Each flow has a timeout(idle and hard), it will be flushed out after the
timeout period.
On Wed, Feb 28, 2018 at 1:59 PM, Moh'd Reza Abbasi
wrote:
> I don't think OpenF
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 insta
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?