Hi, Pablo
You can add static flows on this event (triggers then switch connects to
controller):
@set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER)
def static_flow (self, ev):
Regards,
Vilius.
-----Original Message-----
From: Pablo M. Guevara [mailto:[email protected]]
Sent: Tuesday, November 25, 2014 9:01 PM
To: [email protected]
Subject: [Ryu-devel] what is the best approach for adding static flows?
Hello team,
I'm writing an application that requires me to add some flows when the
switch registers with the controller. What is the recommended way if doing
this? I mean, should I add the flows on EventOFPStateChange,
EventOFPSwitchFeatures or some other event? My first aproach was to do so on
EventOFPStateChange. I don't see a reason why to do it upon reception of
EventOFPSwitchFeatures event.
Thanks in advance
--
Pablo
----------------------------------------------------------------------------
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel