[Ryu-devel] Python Conference Asia-Pacific 2013 in Japan

2013-06-27 Thread WAKABAYASHI, Tomonori
Ryu Developer and Users On 13-16/Sep. we will convene a Python Conference Asia-Pacific 2013 in Japan. The main goal of this conference is to provide a timely forum for Python engineer in Japan and oversea(ASIA, Oceania), and dissemination of pleasure and profit of Python. I think many Pythonista

Re: [Ryu-devel] [PATCH 13/13] a simple command line msgpack-rpc client

2013-06-27 Thread YAMAMOTO Takashi
> On Thu, Jun 27, 2013 at 01:00:24PM +0900, YAMAMOTO Takashi wrote: >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> bin/rpc-cli | 236 >> >> 1 file changed, 236 insertions(+) >> create mode 100755 bin/rpc-cli > > please update setup

[Ryu-devel] Python Conference Asia-Pacific 2013 in Japan

2013-06-27 Thread WAKABAYASHI, Tomonori
Ryu Developer and Users On 13-16/Sep. we will convene a Python Conference Asia-Pacific 2013 in Japan. The main goal of this conference is to provide a timely forum for Python engineer in Japan and oversea(ASIA, Oceania), and dissemination of pleasure and profit of Python. I think many Pythonista

Re: [Ryu-devel] [PATCH 13/13] a simple command line msgpack-rpc client

2013-06-27 Thread YAMAMOTO Takashi
> On Thu, Jun 27, 2013 at 01:00:24PM +0900, YAMAMOTO Takashi wrote: >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> bin/rpc-cli | 236 >> >> 1 file changed, 236 insertions(+) >> create mode 100755 bin/rpc-cli >> >> diff --git a/bin/

Re: [Ryu-devel] CLI for RYU

2013-06-27 Thread Isaku Yamahata
Some patches are floating around. Please check the mailing list archive. On Fri, Jun 21, 2013 at 03:10:00PM +0530, Nikhil wrote: > Hello, > > Is there any CLI available to the RYU controller ? > > Best Regards, > Nikhil > -

Re: [Ryu-devel] [PATCH 13/13] a simple command line msgpack-rpc client

2013-06-27 Thread Isaku Yamahata
On Thu, Jun 27, 2013 at 01:00:24PM +0900, YAMAMOTO Takashi wrote: > > Signed-off-by: YAMAMOTO Takashi > --- > bin/rpc-cli | 236 > > 1 file changed, 236 insertions(+) > create mode 100755 bin/rpc-cli please update setup.py to instal

Re: [Ryu-devel] how to run ryu-client

2013-06-27 Thread Isaku Yamahata
ryy-client is a debug tool for developers. It only make sense for those who are familiar with its internals. If you're curious about what those mean, please read source code. run openstack with devstack and run ryu-manager # PYTHONPATH=. ./bin/ryu-manager --config-file=etc/ryu/ryu.conf --verbose

Re: [Ryu-devel] ryu-plugin configuration problem

2013-06-27 Thread Isaku Yamahata
On Wed, Jun 26, 2013 at 02:41:06PM +0800, hsin han Liu wrote: > Hi > > I configure my quantum server as > https://github.com/osrg/ryu/wiki/configuration_openstack_grizzly_with_ryu > they work fine when controller and quantum server are on same host. > > Their are few simple question i want to kno

Re: [Ryu-devel] [PATCH 13/13] a simple command line msgpack-rpc client

2013-06-27 Thread Isaku Yamahata
On Thu, Jun 27, 2013 at 01:00:24PM +0900, YAMAMOTO Takashi wrote: > > Signed-off-by: YAMAMOTO Takashi > --- > bin/rpc-cli | 236 > > 1 file changed, 236 insertions(+) > create mode 100755 bin/rpc-cli > > diff --git a/bin/rpc-cli b/b

Re: [Ryu-devel] Question : Where is rest_router.py ?

2013-06-27 Thread imeat u
> It's not merged yet. The latest code was posted yesterday. Hopefully, > it will be merged soon.All right. I expect. > Date: Wed, 26 Jun 2013 22:00:06 +0900 > To: [email protected] > CC: [email protected] > Subject: Re: [Ryu-devel] Question : Where is rest_router.py ? > From: fujit

[Ryu-devel] [PATCH 06/17] of-wire json: adapt OF1.0 nicira extention

2013-06-27 Thread YAMAMOTO Takashi
this is probably incomplete but better than nothing. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_0_parser.py | 35 ++- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_pars

[Ryu-devel] [PATCH 09/17] of-wire json: adapt OF1.3

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3.py| 12 + ryu/ofproto/ofproto_v1_3_parser.py | 452 ++--- 2 files changed, 286 insertions(+), 178 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py index 320d5

[Ryu-devel] [PATCH 15/17] of-wire json test: change the of_protocol upstream

2013-06-27 Thread YAMAMOTO Takashi
for now, use my fork of of_protocol, which contains necessary fixes for our purpose. this commit is separated from the rest of mkdata so that it can be easily reverted when the upstream took the necessary changes. Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/mkdata/rebar.config |

[Ryu-devel] [PATCH 03/17] of12 OFPGroupFeaturesStats: tuple -> list

2013-06-27 Thread YAMAMOTO Takashi
tuples are json-unfriendly. (of1.3 version was completely broken until very recently and the way i fixed it is consistent with this change.) Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py| 4 ++-- ryu/tests/unit/ofproto/test_parser_v12.py | 4 ++-- 2 files change

[Ryu-devel] [PATCH 11/17] test_parser_v12: abuse this to test to_jsondict and from_jsondict

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser_v12.py | 10 ++ 1 file changed, 10 insertions(+) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index c5a85e8..bf0e49e 100644 --- a/ryu/tests/unit/ofproto/test_par

[Ryu-devel] [PATCH 16/17] of-wire json test: generated data for unit test

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/data/1-1-ofp_packet_out.packet | Bin 0 -> 122 bytes ryu/tests/unit/ofproto/data/1-2-ofp_flow_mod.packet | Bin 0 -> 80 bytes ryu/tests/unit/ofproto/data/1-4-ofp_packet_in.packet| Bin 0 -> 60 bytes ryu/tests/unit/ofproto/data/

[Ryu-devel] [PATCH 17/17] of-wire json test: unit test

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser.py | 105 ++ 1 file changed, 105 insertions(+) create mode 100644 ryu/tests/unit/ofproto/test_parser.py diff --git a/ryu/tests/unit/ofproto/test_parser.py b/ryu/tests/unit/ofproto/test_parse

[Ryu-devel] [PATCH 04/17] StringifyMixin: json support

2013-06-27 Thread YAMAMOTO Takashi
factor out guts of StringifyMixin into a separate module. add methods to convert to/from json.loads/dumps-compatible dictionary. this is mainly for json representation of of-wire (OFPxxx) classes. Signed-off-by: YAMAMOTO Takashi --- ryu/lib/stringify.py | 210 +++

[Ryu-devel] [PATCH 01/17] fix OFPMeterStats

2013-06-27 Thread YAMAMOTO Takashi
len -> length as the latter seems to be expected by OFPMultipartReply.parser_stats_body. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3

[Ryu-devel] [PATCH 00/17] of-wire json representation

2013-06-27 Thread YAMAMOTO Takashi
this set includes OFPxxx json representation functionality and some fixes necessary to make new tests pass. YAMAMOTO Takashi (17): fix OFPMeterStats of13 fix OFP_GROUP_DESC_STATS_PACK_STR of12 OFPGroupFeaturesStats: tuple -> list StringifyMixin: json support of-wire json: adapt OF1.0 o

[Ryu-devel] [PATCH 02/17] of13 fix OFP_GROUP_DESC_STATS_PACK_STR

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py index 3a40eef..320d545 100644 --- a/ryu/ofproto/ofproto_v1_3.py +++ b/ryu/ofproto/ofproto_v1_3.py @@ -685,

[Ryu-devel] [PATCH 10/17] ofproto_v1_3_parser: omit mask attribute from str() when appropriate

2013-06-27 Thread YAMAMOTO Takashi
normalize str() outputs so that tests like str(msg1) == str(msg2) more likely succeed. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofp

[Ryu-devel] [PATCH 07/17] of-wire json: adapt OF1.2

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2.py | 12 + ryu/ofproto/ofproto_v1_2_parser.py| 400 +++--- ryu/tests/unit/ofproto/test_parser_v12.py | 66 ++--- 3 files changed, 297 insertions(+), 181 deletions(-) diff --git a/ryu/ofp

[Ryu-devel] [PATCH 12/17] add a test for ryu.lib.stringify

2013-06-27 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/lib/test_stringify.py | 70 1 file changed, 70 insertions(+) create mode 100644 ryu/tests/unit/lib/test_stringify.py diff --git a/ryu/tests/unit/lib/test_stringify.py b/ryu/tests/unit/lib/test_stringify.py

[Ryu-devel] [PATCH 05/17] of-wire json: adapt OF1.0

2013-06-27 Thread YAMAMOTO Takashi
From: YAMAMOTO Takashi Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_0_parser.py | 68 +++--- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py index 8bca9e9..ebb74

[Ryu-devel] [PATCH 08/17] ofproto_v1_2_parser: omit mask attribute from str() when appropriate

2013-06-27 Thread YAMAMOTO Takashi
normalize str() outputs so that tests like str(msg1) == str(msg2) more likely succeed. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofp