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

2016-02-23 Thread Victor Orlikowski
Minor change: since I am not using PriorityQueue anymore, it does not need to be present in hub.py. Signed-off-by: Victor J. Orlikowski diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index 3d5d895..ed60857 100644 --- a/ryu/base/app_manager.py +++ b/ryu/base/app_manager.py @@ -15

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

2016-02-23 Thread Victor Orlikowski
I have not yet. I had planned to submit a patch upstream, but wanted to get this resolved first, especially since the eventlet community does not seem terribly responsive. I will be *glad* to remove the semaphores, once eventlet has been fixed upstream (possibly by me). Until then, the semapho

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

2016-02-23 Thread IWAMOTO Toshihiro
Hi, At Tue, 23 Feb 2016 14:10:52 +, Victor Orlikowski wrote: > > I have re-read the source for Eventlet's get() on a queue. > I am willing to give the code a try in the lab without the timeouts. > I will report back my results - but I believe that the timeout code in get() > is not significa

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

2016-02-23 Thread Victor Orlikowski
After extensive testing in the lab, I have established that the timeouts used for queue get() operations are not strictly necessary. Therefore, I am removing them, per Iwamoto-san's request. The semaphore protecting put(), however, *is* required. I have also reverted back to a simple queue, fro

[Ryu-devel] Datapath object from datapath.id

2016-02-23 Thread Osman Titu
Hi For getting datapath object from datapath.id (which is an integer) I have added this code bellow from ryu.app.ofctl.api import get_datapath dp = get_datapath(self, datapath.id) but I am getting this message "unknown error xid" How can I fix it? BR Titu -

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

2016-02-23 Thread Victor Orlikowski
I have re-read the source for Eventlet's get() on a queue. I am willing to give the code a try in the lab without the timeouts. I will report back my results - but I believe that the timeout code in get() is not significantly different from the code used to schedule an unlock of a blocked getter

Re: [Ryu-devel] Odd app loading behaviour

2016-02-23 Thread Xandaros
Hello, On Tue, Feb 23, 2016 at 01:46:25PM +0900, Minoru TAKAHASHI wrote: > 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 w