On Mon, 22 Oct 2018 22:37:17 +0900,
Edison Albuquerque wrote:
> When I do:
> 
> ryu-manager --verbose ryu.app.simple_switch_13 ryu.app.simple_monitor_13
> 
> I see PacketIn event occurring twice.
> I wonder if there will be a collision between the two, wich would yield a
> erratic behavior.
> Can you tell me what happens?

As you see in ryu.app.simple_monitor_13, SimpleMonitor13 extends
SimpleSwitch13 and you instantiate those two RyuApps.

So, SimpleSwitch13._packet_in_handler gets registered twice.

I think you only need SimpleMonitor13 in this case.

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to