Re: [Ryu-devel] Issue with multipart reply parser

2013-07-18 Thread YAMAMOTO Takashi
> On Wed, 17 Jul 2013 07:41:13 +0900 > FUJITA Tomonori wrote: > >> On Tue, 16 Jul 2013 18:51:09 + >> "Claiborne, Matt" wrote: >> >> > I am seeing the following error when controller receives and attempts to >> > parse a multipart reply for a port_desc_stats_request. This was working >> >

[Ryu-devel] [PATCH 3/9] of-wire json: adapt OF13 OFPPortDescStatsReply

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index c980887..aced858 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu

[Ryu-devel] [PATCH 4/9] of-wire json: adapt OF13 OFPTableFeaturesStatsReply

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index aced858..4c00fd6 100644 --- a/ryu/ofproto/ofproto

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

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser.py | 135 ++ 1 file changed, 135 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 5/9] of-wire json: adapt OF13 OFPMeterBand

2013-07-18 Thread YAMAMOTO Takashi
prefix OFPMeterBand.type and len with _ to avoid being picked by stringifymixin. they are redundant as json representation has python class name like OFPMeterBandDrop. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 18 +- 1 file changed, 9 insertions(+),

[Ryu-devel] [PATCH 0/9] of-wire json tests and related fixes

2013-07-18 Thread YAMAMOTO Takashi
this set includes of-wire json tests and fixes for problems found by the test. changes from the previous post includes: - bug fixes - add missing tests for some messages OFPTableFeaturesStatsReply OFPPortDescStatsRequest OFPPortDescStatsReply YAMAMOTO Takashi (9):

[Ryu-devel] [PATCH 8/9] of-wire json test: generated *.packet

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/packet_data/of10/1-1-ofp_packet_out.packet| Bin 0 -> 122 bytes ryu/tests/packet_data/of10/1-2-ofp_flow_mod.packet | Bin 0 -> 80 bytes ryu/tests/packet_data/of10/1-4-ofp_packet_in.packet | Bin 0 -> 60 bytes ryu/tests/packet_data/of10/1

[Ryu-devel] [PATCH 1/9] of13: fix OFP_TABLE_FEATURES_PACK_STR

2013-07-18 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 17cef2b..9190737 100644 --- a/ryu/ofproto/ofproto_v1_3.py +++ b/ryu/ofproto/ofproto_v1_3.py @@ -599,

[Ryu-devel] [PATCH 2/9] of13: fix OFPTableFeaturesStats.parser

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 7994469..c980887 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ry

[Ryu-devel] [PATCH v3 3/3] packet lib to string: unit tests

2013-07-18 Thread watanabe.fumitaka
Signed-off-by: WATANABE Fumitaka --- ryu/tests/unit/packet/test_dhcp.py | 107 ryu/tests/unit/packet/test_icmp.py | 63 ryu/tests/unit/packet/test_icmpv6.py | 64 ryu/tests/unit/packet/test_ipv6.py | 64 ryu/tests/unit/packe

[Ryu-devel] [PATCH v3 0/3] packet library to string

2013-07-18 Thread watanabe.fumitaka
Add conversion to string of all member variable of each packet library. It comes into effect by inheriting packet_base.StringifyMixin --- ryu/lib/packet/arp.py|8 ++ ryu/lib/packet/dhcp.py | 20 +++- ryu/lib/packet/ethernet.py |7 ++ ryu/lib/pack

[Ryu-devel] [PATCH v3 1/3] packet lib to string: add __str__ to base

2013-07-18 Thread watanabe.fumitaka
Signed-off-by: WATANABE Fumitaka --- ryu/lib/packet/packet.py |4 ryu/lib/packet/packet_base.py | 23 ++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py index f80948a..785a28b 100644 --- a/ryu/

[Ryu-devel] [PATCH v3 2/3] packet lib to string: add an individual conversion

2013-07-18 Thread watanabe.fumitaka
Add an individual conversion process. Some class inherits packet_base.StringifyMixin and, remove class variable 'tlvs' (not used as class variable and interferes to string) from lldp.lldp Signed-off-by: WATANABE Fumitaka --- ryu/lib/packet/arp.py |8 ryu/lib/packet/dhcp.py

Re: [Ryu-devel] Issue with multipart reply parser

2013-07-18 Thread FUJITA Tomonori
On Wed, 17 Jul 2013 07:41:13 +0900 FUJITA Tomonori wrote: > On Tue, 16 Jul 2013 18:51:09 + > "Claiborne, Matt" wrote: > > > I am seeing the following error when controller receives and attempts to > > parse a multipart reply for a port_desc_stats_request. This was working > > until recen

Re: [Ryu-devel] [PATCH 0/5] of-wire json tests and related fixes

2013-07-18 Thread YAMAMOTO Takashi
hm, it turned out that this version of the test code was broken. please ignore. i'll fix and repost. YAMAMOTO Takashi > this set includes of-wire json tests and related fixes. > > changes from the previous post includes: > - rebase, deal with new code (meter_band) > - regen after of_pro

Re: [Ryu-devel] [PATCH] appease pep8

2013-07-18 Thread FUJITA Tomonori
On Fri, 19 Jul 2013 12:04:31 +0900 YAMAMOTO Takashi wrote: > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/app/gre_tunnel.py | 2 +- > ryu/lib/xflow/netflow.py | 2 +- > ryu/ofproto/ofproto_v1_0_parser.py| 38 > +++ >

[Ryu-devel] [PATCH] appease pep8

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/app/gre_tunnel.py | 2 +- ryu/lib/xflow/netflow.py | 2 +- ryu/ofproto/ofproto_v1_0_parser.py| 38 +++ ryu/ofproto/ofproto_v1_2_parser.py| 22 +- ryu/ofproto

[Ryu-devel] Enjoy High Speed Maxis fibre Internet 10mbps only at RM148/month!

2013-07-18 Thread Maxis Agent (Shanny)
Title: MAXIS HOME AND BUSINESS FIBRE INTERNET MAXIS HOME AND BUSINESS FIBRE INTERNET Fastest Fibre Broadband in Malaysia with lowest price 10Mbps, 20Mbps, & 30Mbps from only RM148

Re: [Ryu-devel] [PATCH v8] add router Ryu application

2013-07-18 Thread FUJITA Tomonori
On Tue, 09 Jul 2013 10:42:14 +0900 "watanabe.fumitaka" wrote: > Changes v7 -> v8 > - Rename conflict method name. > - Improvement of an order which deletes and kills thread of SuspendPacket. > > > > This patch implements router Ryu application. > packet is forwarded on the static routing table

Re: [Ryu-devel] [PATCH] OpenFlow 1.2 learning switch

2013-07-18 Thread FUJITA Tomonori
On Wed, 17 Jul 2013 14:45:01 +1200 Sam Russell wrote: > Signed-off-by: Sam Russell > --- > ryu/app/simple_switch_12.py | 120 > +++ > 1 file changed, 120 insertions(+) > create mode 100644 ryu/app/simple_switch_12.py Thanks. Can you fix pep8 warnings?

[Ryu-devel] Regarding OFPMP_TABLE_FEATURES request

2013-07-18 Thread Abhimanyu singh
Does the current ryu code support ofp_mulitpart_request of type OFPMP_TABLE_FEATURES and the corresponding reply messages ? -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with

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

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser.py | 127 ++ 1 file changed, 127 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 4/5] of-wire json test: generated *.packet

2013-07-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/packet_data/of10/1-1-ofp_packet_out.packet| Bin 0 -> 122 bytes ryu/tests/packet_data/of10/1-2-ofp_flow_mod.packet | Bin 0 -> 80 bytes ryu/tests/packet_data/of10/1-4-ofp_packet_in.packet | Bin 0 -> 60 bytes ryu/tests/packet_data/of10/1

[Ryu-devel] [PATCH 0/5] of-wire json tests and related fixes

2013-07-18 Thread YAMAMOTO Takashi
this set includes of-wire json tests and related fixes. changes from the previous post includes: - rebase, deal with new code (meter_band) - regen after of_protocol fix (band_type) - shuffle directory structure YAMAMOTO Takashi (5): prefix OFPMeterBand.type and len with _ of-wire

[Ryu-devel] [PATCH 1/5] prefix OFPMeterBand.type and len with _

2013-07-18 Thread YAMAMOTO Takashi
to avoid being picked by stringifymixin. they are redundant as json representation has python class name like OFPMeterBandDrop. Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ryu/ofprot