OK, Thanks.

I'm writing a testing application, based on the integrated tests which 
come with Ryu, in order to test our products internally. The switch 
testing application you are providing with Ryu doesn't fit our purpose, 
that's why I write my own one. Since I need to query some values from the 
switch and then conduct some tests based on those values, I use the older 
integrated tests as my base. They are more flexible, than the JSON based 
tests.

Cheers
Arne



From:   FUJITA Tomonori <[email protected]>
To:     [email protected], 
Cc:     [email protected]
Date:   01/28/2014 07:55 PM
Subject:        Re: [Ryu-devel] How to gracefully exit the loop?



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



------------------------------------------------------------------------------
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

Reply via email to