[Ryu-devel] [PATCH] doc: add reference for ofproto api document

2013-08-12 Thread Yoshihiro Kaneko
Signed-off-by: Yoshihiro Kaneko --- doc/source/developing.rst |2 +- doc/source/ofproto_ref.rst |9 + 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 doc/source/ofproto_ref.rst diff --git a/doc/source/developing.rst b/doc/source/developing.rst index 6550e12.

[Ryu-devel] [PATCH 5/7] of13: make OFPMatch use oxm_fields routines

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 33 - 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 766494c..34c56c7 100644 --- a/ryu/ofproto/of

[Ryu-devel] [PATCH 1/7] oxm_fields: add some routines

2013-08-12 Thread YAMAMOTO Takashi
these will be used by the later OFPMatch and OFPActionSetField changes. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/oxm_fields.py | 60 +++ 1 file changed, 60 insertions(+) diff --git a/ryu/ofproto/oxm_fields.py b/ryu/ofproto/oxm_fields.py index 4

[Ryu-devel] [PATCH 3/7] of12: change OFPMatch json representation to match with on-wire

2013-08-12 Thread YAMAMOTO Takashi
old: { "OFPMatch": { "eth_dst": "f2:0b:a4:7d:f8:ea" }} new: { "OFPMatch": { "oxm_fields": [ { "OXMTlv": { "field": "eth_dst", "mask": null, "value": "f2:0b:a4:7d:f8:ea" }} ] }} Signed-o

[Ryu-devel] [PATCH 7/7] of13: update *.json after OFPMatch changes

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../of13/4-11-ofp_flow_stats_request.packet.json | 4 +- .../of13/4-12-ofp_flow_stats_reply.packet.json | 36 +-- .../ofproto/json/of13/4-2-ofp_flow_mod.packet.json | 10 ++- .../4-25-ofp_aggregate_stats_request.packet.json | 4 +- .../ofproto

[Ryu-devel] [PATCH 4/7] of12: update *.json after OFPMatch changes

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../of12/3-11-ofp_flow_stats_request.packet.json | 4 +- .../of12/3-12-ofp_flow_stats_reply.packet.json | 36 +-- .../ofproto/json/of12/3-2-ofp_flow_mod.packet.json | 10 ++- .../3-25-ofp_aggregate_stats_request.packet.json | 4 +- .../ofproto

[Ryu-devel] [PATCH 6/7] of13: change OFPMatch json representation to match with on-wire

2013-08-12 Thread YAMAMOTO Takashi
old: { "OFPMatch": { "eth_dst": "f2:0b:a4:7d:f8:ea" }} new: { "OFPMatch": { "oxm_fields": [ { "OXMTlv": { "field": "eth_dst", "mask": null, "value": "f2:0b:a4:7d:f8:ea" }} ] }} Signed-o

[Ryu-devel] [PATCH 2/7] of12: make OFPMatch use oxm_fields routines

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 33 - 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index a9bd0b1..fff9c06 100644 --- a/ryu/ofproto/of

[Ryu-devel] [PATCH] packet_base: update docstring

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/lib/packet/packet_base.py | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ryu/lib/packet/packet_base.py b/ryu/lib/packet/packet_base.py index 0731fd9..cbc213f 100644 --- a/ryu/lib/packet/packet_base.py +++ b/ryu/lib/packet/pa

Re: [Ryu-devel] [PATCH 1/2] doc: fix a typo

2013-08-12 Thread FUJITA Tomonori
On Tue, 13 Aug 2013 09:43:35 +0900 YAMAMOTO Takashi wrote: > Signed-off-by: YAMAMOTO Takashi > --- > doc/source/parameters.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Both applied, thanks. -- Get 100%

[Ryu-devel] [PATCH 1/2] doc: fix a typo

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- doc/source/parameters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/parameters.rst b/doc/source/parameters.rst index 7647b87..55853f1 100644 --- a/doc/source/parameters.rst +++ b/doc/source/parameters.rst @@ -102,7 +102,7 @@

[Ryu-devel] [PATCH 2/2] doc: fix some sphinx warnings and errors

2013-08-12 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- doc/source/index.rst | 1 + doc/source/parameters.rst | 58 +++ 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 3de6f33..c443bc6 100644 --- a/do

Re: [Ryu-devel] [PATCH] ofproto_v1_3_parser: add docstring to OFPMatch

2013-08-12 Thread FUJITA Tomonori
On Mon, 12 Aug 2013 17:08:22 +0900 Yoshihiro Kaneko wrote: > Signed-off-by: Yoshihiro Kaneko > --- > ryu/ofproto/ofproto_v1_3_parser.py | 80 > > 1 file changed, 80 insertions(+) Applied, thanks. Not sure we need to explain the old API though.

Re: [Ryu-devel] [PATCH 1/2] a script to normalize json

2013-08-12 Thread FUJITA Tomonori
On Mon, 12 Aug 2013 16:46:08 +0900 YAMAMOTO Takashi wrote: > this will be used to normalize *.json files in the tree > so that we can get more readable diffs. > > Signed-off-by: YAMAMOTO Takashi > --- > tools/normalize_json.py | 27 +++ > 1 file changed, 27 insertions(+

Re: [Ryu-devel] AddrFormatError: address "\x08\x00'\x16\xef \xbc" is not an EUIv48

2013-08-12 Thread Christoph Brass
Yes, seems to work!! Thank you very much! On Mon, 12 Aug 2013 07:39:16 +0900 (JST) FUJITA Tomonori wrote: > On Fri, 09 Aug 2013 10:59:36 +0200 > "Christoph Brass" wrote: > >> i developed my ryu-app using the snort-devel branch of >> ryu. Now i tried to port it to the current version of >>ry

[Ryu-devel] [PATCH] ofproto_v1_3_parser: add docstring to OFPMatch

2013-08-12 Thread Yoshihiro Kaneko
Signed-off-by: Yoshihiro Kaneko --- ryu/ofproto/ofproto_v1_3_parser.py | 80 1 file changed, 80 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 71ad328..766494c 100644 --- a/ryu/ofproto/ofproto_v1_3_

[Ryu-devel] [PATCH 1/2] a script to normalize json

2013-08-12 Thread YAMAMOTO Takashi
this will be used to normalize *.json files in the tree so that we can get more readable diffs. Signed-off-by: YAMAMOTO Takashi --- tools/normalize_json.py | 27 +++ 1 file changed, 27 insertions(+) create mode 100755 tools/normalize_json.py diff --git a/tools/normalize