Re: [Ryu-devel] Odd app loading behaviour

2016-02-22 Thread Minoru TAKAHASHI
Hi Xandaros, On 2016年02月22日 23:47, Xandaros wrote: > Hello, > > Say I have the following three files: > /a/a.py > /a/b.py > /b/b.py > > And I start ryu like this: > ryu /a/a.py /b/b.py > > It will actually load the apps /a/a.py and /a/b.py, NOT /b/b.py Thank you for your report. Although I

Re: [Ryu-devel] [PATCH v2] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread Victor Orlikowski
On Feb 22, 2016, at 10:18 PM, IWAMOTO Toshihiro wrote: > > on an unrelated note, have you considered going for true > multi-threading (Python's native threading for example) as eventlet > cannot make use of multiple CPUs? > True multi-threading in Python isn't really,

Re: [Ryu-devel] [PATCH v2] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread IWAMOTO Toshihiro
Hi, on an unrelated note, have you considered going for true multi-threading (Python's native threading for example) as eventlet cannot make use of multiple CPUs? At Mon, 22 Feb 2016 21:44:26 +, Victor Orlikowski wrote: > > After re-examining the code again and re-testing, I have simplified

Re: [Ryu-devel] Adding Flow Entry

2016-02-22 Thread Shinpei Muraoka
Hi, > I'm using OpenFlow1.3 and I was trying to add more than one rules in one go > at the switch inside a loop, but it is not going through the iteration. > Instead, it just ran the loop only one time. I also got the following > warrning. Could you please help on this matter? Your

Re: [Ryu-devel] [PATCH v2] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread Victor Orlikowski
I await them eagerly. ;) Do note - the changes to how I use the PriorityQueue are required by, and specified in, the documentation for the heapq module. Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu > On Feb 22, 2016, at 9:31 PM, IWAMOTO Toshihiro wrote: >

Re: [Ryu-devel] [PATCH v2] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread IWAMOTO Toshihiro
Hi Fujita-san, At Tue, 23 Feb 2016 10:43:49 +0900 (JST), FUJITA Tomonori wrote: > > On Mon, 22 Feb 2016 21:44:26 + > Victor Orlikowski wrote: > > > After re-examining the code again and re-testing, I have simplified the > > patch still further. > > > > Signed-off-by:

Re: [Ryu-devel] [PATCH v2] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread FUJITA Tomonori
On Mon, 22 Feb 2016 21:44:26 + Victor Orlikowski wrote: > After re-examining the code again and re-testing, I have simplified the patch > still further. > > Signed-off-by: Victor J. Orlikowski Iwamoto-san, Any comments on the latest patch?

[Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread Victor Orlikowski
After re-examining the logic in controller.py, I have removed some of the complexity in the socket closure logic. This code has passed testing in the lab using the following tests: 1) tcpkill 'port 6633' 2) iptables -I INPUT -p tcp -m tcp --dport 6633 -j DROP Each of the above are performed

[Ryu-devel] [PATCH v2] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-22 Thread Victor Orlikowski
After re-examining the code again and re-testing, I have simplified the patch still further. Signed-off-by: Victor J. Orlikowski diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index 3d5d895..f162cdf 100644 --- a/ryu/base/app_manager.py +++

[Ryu-devel] Odd app loading behaviour

2016-02-22 Thread Xandaros
Hello, Say I have the following three files: /a/a.py /a/b.py /b/b.py And I start ryu like this: ryu /a/a.py /b/b.py It will actually load the apps /a/a.py and /a/b.py, NOT /b/b.py signature.asc Description: PGP signature