On Fri, 12 Jul 2013 09:35:58 +0800 Colin Zhang <[email protected]> wrote:
> I tried to use build-in Event mechanism but it didn't work > (Actually, after apps are instantiated, I failed to find a way to > invoke my own function which generate Events, because all functions > in Ryu app can only be triggered by another event. Seems like a dead > lock, aha? ), could anyone tell me how to do that? Maybe there are > better solutions? Without any event, how can the code know when a function needs to be executed? I guess that using 'timer' as an event might meet your requirement (doing something periodically). Please check out ryu/topology/switches.py. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
