Re: [Ryu-devel] [PATCH 1/3] bgp: use TCP_NODELAY for bgp connection

2014-06-15 Thread FUJITA Tomonori
On Sun, 15 Jun 2014 21:22:34 +0900 FUJITA Tomonori wrote: > Disables Nagle to send data immediately. > > Signed-off-by: FUJITA Tomonori > --- > ryu/services/protocols/bgp/speaker.py | 2 ++ > 1 file changed, 2 insertions(+) Applied the patchset. --

Re: [Ryu-devel] [PATCH] ryu.lib.hub: add logging wrapper for wsgi server

2014-06-15 Thread FUJITA Tomonori
On Sun, 15 Jun 2014 19:06:38 +0900 Yoshihiro Kaneko wrote: > This patch adds a wrapper to relay the log of the wsgi server to the logger. > > Signed-off-by: Yoshihiro Kaneko > --- > ryu/lib/hub.py | 7 ++- > ryu/log.py | 2 +- > 2 files changed, 7 insertions(+), 2 deletions(-) Applied

Re: [Ryu-devel] [PATCH] contrib: import tinyrpc library

2014-06-15 Thread FUJITA Tomonori
On Sun, 15 Jun 2014 19:03:04 +0900 Yoshihiro Kaneko wrote: > https://pypi.python.org/pypi/tinyrpc/0.5 > https://github.com/mbr/tinyrpc > > Signed-off-by: Yoshihiro Kaneko I really want to avoid adding something to contrib but again the easiest way to create Ryu Ubuntu package. Hopefully, we wo

Re: [Ryu-devel] [PATCH] downgrade required version of msgpack-python

2014-06-15 Thread FUJITA Tomonori
On Sun, 15 Jun 2014 19:03:30 +0900 Yoshihiro Kaneko wrote: > For Ubuntu 14.04, downgrade the required version of msgpack-python. > > Signed-off-by: Yoshihiro Kaneko > --- > tools/pip-requires | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Ok, not nice but I think that it's easiest wa

[Ryu-devel] [PATCH 2/3] bgp: use sendall with lock

2014-06-15 Thread FUJITA Tomonori
With the current design, multiple greenlets calls sendall() on a single tcp socket. This leads to a corrupted bgp message. This patch introduces mutex to work around the problem. However, I hope that we _fix_ the design where only one greenlet call sendall() on a signel tcp socket in the future.

[Ryu-devel] [PATCH 1/3] bgp: use TCP_NODELAY for bgp connection

2014-06-15 Thread FUJITA Tomonori
Disables Nagle to send data immediately. Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/speaker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ryu/services/protocols/bgp/speaker.py b/ryu/services/protocols/bgp/speaker.py index 8cb9d29..d5a543a 100644 --- a/ryu/services/

[Ryu-devel] [PATCH 3/3] bgp: catch socket error with sendall

2014-06-15 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/speaker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ryu/services/protocols/bgp/speaker.py b/ryu/services/protocols/bgp/speaker.py index e4a9bc9..7b98aa2 100644 --- a/ryu/services/protocols/bgp/speaker.py +++ b/ryu/service

[Ryu-devel] [PATCH] ryu.lib.hub: add logging wrapper for wsgi server

2014-06-15 Thread Yoshihiro Kaneko
This patch adds a wrapper to relay the log of the wsgi server to the logger. Signed-off-by: Yoshihiro Kaneko --- ryu/lib/hub.py | 7 ++- ryu/log.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py index 3d87809..836b924 100644 --- a/r

[Ryu-devel] [PATCH] contrib: import tinyrpc library

2014-06-15 Thread Yoshihiro Kaneko
https://pypi.python.org/pypi/tinyrpc/0.5 https://github.com/mbr/tinyrpc Signed-off-by: Yoshihiro Kaneko --- ryu/contrib/tinyrpc/__init__.py| 6 + ryu/contrib/tinyrpc/client.py | 91 ryu/contrib/tinyrpc/dispatch/__init__.py | 201

[Ryu-devel] [PATCH] downgrade required version of msgpack-python

2014-06-15 Thread Yoshihiro Kaneko
For Ubuntu 14.04, downgrade the required version of msgpack-python. Signed-off-by: Yoshihiro Kaneko --- tools/pip-requires | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pip-requires b/tools/pip-requires index 2528ebc..7be60f1 100644 --- a/tools/pip-requires +++ b/tool