On Wed, 21 Aug 2013 13:01:01 -0300
Tonhão - Antonio Brasolin <[email protected]> wrote:

> I'm trying to run an app that detects links but, for some reason, the link
> event just isn't happening. Is it some change on an API? It works fine on
> older versions of ryu and on the version with the GUI.
> 
> Thank you in advance.
> 
> Relevant parts of the code:
> .
> .
> .
>     _CONTEXTS = {'dpset': dpset.DPSet,  # used for EventDP
>                  'switches': switches.Switches,  # used for EventLinkAdd
>                  'wsgi': WSGIApplication}  # used for REST stuff
> 
> .
> .
> .
> 
>     @set_ev_cls(event.EventLinkAdd, MAIN_DISPATCHER)
>     def link_handler(self, ev):
> 
> Command used to run the application:
> PYTHONPATH=. bin/ryu-manager --observe-links ../myapp.py

You got an exception in switches? There is one known bug, which should
be fixed shortly.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to