On Fri, 14 Mar 2014 20:23:00 +0800
"Vincent.Chao" <[email protected]> wrote:

> If I run two app like: ryu-manager My_app.py Simple_Switch.py
> The result will be:
> EVENT ofp_event-> My_app EventOFPPacketIn
> EVENT ofp_event-> SimpleSwitch EventOFPPacketIn
> [Debug msg] this is My_app get packetin
> [Debug msg] this is Simpleswitch get packetin
> 
> 
> It seems Ryu generate double Packetevent and send to two app respectively.

Yeah, boardcasting an event to all applications that wait for the
event.

> How could i make packetIn msg pass to apps in order?
> as following:
> 
> EVENT ofp_event-> My_app EventOFPPacketIn
> [Debug msg] this is My_app get packetin
> EVENT ofp_event-> SimpleSwitch EventOFPPacketIn
> [Debug msg] this is Simpleswitch get packetin

Currently, we don't support the feature. The first application can
wait for packet_in and then generatees the own event to the second
applicaiton.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to