On Tue, 23 Jul 2013 09:35:13 -0700 Marvin Dsouza <[email protected]> wrote:
> Hey Guys, > > I am running 3 apps using the ryu-manager and want to perform graceful > shutdown and some other tasks when someone hits the Cntrl+C. So where do I > put the code to capture the signal and perform the action. I was thinking > somewhere inside the app manager class and then generate a custom event to > all the apps? Adding the code at joinall() in hub.py to catch Cntrl+C (KeyboardInterrupt) and to send an event to your applications might work. ------------------------------------------------------------------------------ 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
