[Ryu-devel] [PATCH] ryu.lib.packet: docstring

2013-04-16 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/lib/packet/ethernet.py| 14 ++ ryu/lib/packet/icmp.py| 39 +++ ryu/lib/packet/ipv4.py| 28 ryu/lib/packet/packet_base.py | 16 ++-- ryu/lib/packet/

[Ryu-devel] [PATCH] ofproto_v1_0_parser: add nx_match to NXFlowStatsRequest

2013-04-16 Thread OHMURA Kei
Signed-off-by: OHMURA Kei --- ryu/ofproto/ofproto_v1_0_parser.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py index f9673fb..7945888 100644 --- a/ryu/ofproto/ofproto_v1_0_parser.py +++ b

[Ryu-devel] [PATCH 3/3] ovs.poller: workaround a bug in eventlet

2013-04-16 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/contrib/ovs/poller.py | 13 + 1 file changed, 13 insertions(+) diff --git a/ryu/contrib/ovs/poller.py b/ryu/contrib/ovs/poller.py index 7d15f3e..ffd6a39 100644 --- a/ryu/contrib/ovs/poller.py +++ b/ryu/contrib/ovs/poller.py @@ -18,6 +18,15 @@

[Ryu-devel] [PATCH 1/3] add a threading hub module

2013-04-16 Thread YAMAMOTO Takashi
this provides gevent-like api using eventlet. Signed-off-by: YAMAMOTO Takashi --- ryu/lib/hub.py | 118 ryu/tests/unit/lib/test_hub.py | 201 + 2 files changed, 319 insertions(+) create mode 100644 ryu/lib/hub.py

[Ryu-devel] [PATCH 2/3] sweep the tree to change from gevent to ryu.lib.hub

2013-04-16 Thread YAMAMOTO Takashi
mostly mechanical changes. also, change the requirement from gevent to eventlet. Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager| 11 - ryu/app/quantum_adapter.py | 4 ryu/app/simple_vlan.py | 4 ++-- ryu/app/tunnel_port_upda

[Ryu-devel] [PATCH 0/3] switch to eventlet

2013-04-16 Thread YAMAMOTO Takashi
switch to eventlet. i tweaked the eventlet bug workaround patch for the upstream. git://openvswitch.org/openvswitch commit 73f82807832ef3330188a99016848e9b27aed28b YAMAMOTO Takashi (3): add a threading hub module sweep the tree to change from gevent to ryu.lib.hub ovs.poller: workar

Re: [Ryu-devel] [PATCH] ip address presentation convert helper methods

2013-04-16 Thread FUJITA Tomonori
On Tue, 16 Apr 2013 10:03:22 +0800 Can Zhang wrote: > Since I made 4 commits in the branch, I send them as attachments. Multiple commits dont' mean that you need to send them as attachments. YOu can find examples to do such: http://news.gmane.org/gmane.network.ryu.devel Anyway, I don't think t

Re: [Ryu-devel] pip-require policy

2013-04-16 Thread FUJITA Tomonori
On Tue, 16 Apr 2013 10:22:32 +0900 (JST) [email protected] (YAMAMOTO Takashi) wrote: > should the following modules be in pip-require? > > - netaddr used by tunnel_port_updater I guess that we should > - argparse used by cfg.py for python 2.6. Not sure. What other projects usually do in t

Re: [Ryu-devel] packet lldp and miss_send length problem

2013-04-16 Thread FUJITA Tomonori
On Tue, 16 Apr 2013 08:04:47 +0900 Isaku Yamahata wrote: > On Mon, Apr 15, 2013 at 04:20:04PM -0400, Eric S. Johnson wrote: >> >> >> Please forgive me if I miss a simple solution of have a >> flawed analysis. I am new to both ryu and to python. >> >> >> Ive been using ryu to develop a contro