Hi,

On Tue, 21 Jan 2014 23:07:56 -0800
Max Lin <[email protected]> wrote:

> I want to add some flow entries upon connecting to controller
> without triggering packet_in event?  Wheres the best starting place
> to put my initialization code?  Can I use (EventOFPSwitchFeatures,
> CONFIG_DISPATCHER) to do the starting code?

You can use ofp_event.EventOFPStateChange. You can find an example
code:

http://osrg.github.io/ryu-book/ja/html/traffic_monitor.html#id3

Thanks,

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to