On Tue, 28 Jan 2014 20:04:00 +0900 (JST) FUJITA Tomonori <[email protected]> wrote:
> Hi, > > On Tue, 28 Jan 2014 15:18:45 +0800 > arne_goetje <[email protected]> wrote: > >> If I write my own testing application and use dpset, it will loop forever >> and wait for events. How do I gracefully exit this loop in the script >> after the job I want to do is done? >> Is there any function to close the datapath and exit the application? > > There isn't. In addtion to your applicaiton, there are other > running applications (e.g. application for OpenFlow) so we need to add > a function enable an applition to stop all the running applications. btw, it's not graceful but your application can stop ryu-manager all Ryu applications): https://github.com/osrg/ryu/blob/master/ryu/tests/switch/tester.py#L360 ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
