[Ryu-devel] [PATCH 4/5] stick with pbr 0.5.19

2013-08-29 Thread YAMAMOTO Takashi
the latest versions of pbr generate scripts which don't support multiversion. to avoid importing modules from older multiversion-aware installations of ryu, we prefer multiversion-aware scripts. Signed-off-by: YAMAMOTO Takashi --- setup.cfg | 1 + setup.py | 10 +++--- 2 files changed, 8

[Ryu-devel] [PATCH 1/5] move ryu-manager to entrypoints

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager | 90 - ryu/cmd/__init__.py | 0 ryu/cmd/manager.py | 90 + setup.cfg | 6 ++-- 4 files changed, 94 insertions(+), 92 deleti

[Ryu-devel] [PATCH 2/5] remove bin/ryu-manager from the list of files for pylint/pep8

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 5e0d631..e791ed9 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -90,7 +90,7 @@ run_tests() { run_pylint() { echo "Running pylint ..."

[Ryu-devel] [PATCH 3/5] new way to use pbr

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- setup.cfg | 1 - setup.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index fd49774..a3d3329 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,7 +43,6 @@ doc_files = LICENSE [global] setup-hooks = -pbr.hoo

[Ryu-devel] [PATCH 5/5] workaround a python bug

2013-08-29 Thread YAMAMOTO Takashi
without this patch, "python ./setup.py install" produced the following errors with python 2.7.3 on ubuntu 12.04. Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib/python2.7/atexit.p

[Ryu-devel] [PATCH] packet lib: add nd_router messages

2013-08-29 Thread Ygor Amaral
add ICMPv6 sub encoder/decoder class for Router Solicitation and Router Advertisement messages. add ICMPv6 sub encoder/decoder class for Neighbor discovery Prefix Information Option. Signed-off-by: Ygor Amaral --- diff --git a/ryu/lib/packet/icmpv6.py b/ryu/lib/packet/icmpv6.py index ac1d534..1a

[Ryu-devel] openstack isolation

2013-08-29 Thread Vasiliy Tolstov
Hello. I'm try to build simple toy controller in golang for openflow vSwitch and have question - how ryu provide user isolation in case of identical internal network on two or more tenants? For example tenant1: 192.168.1.0/24 tenant2: 192.168.1.0/24 How ryu controls that tenant2 not able to conne

[Ryu-devel] [PATCH v2] Fix POP_MPLS of ofctl_v1_3.to_actions() problem

2013-08-29 Thread Satoshi Kobayashi
POP_MPLS (class OFPActionPopMpls) requires ethertype. Signed-off-by: Satoshi Kobayashi --- Changes for v2: - Fix Copytight ryu/lib/ofctl_v1_3.py |3 +- ryu/tests/unit/lib/test_ofctl_v1_3.py | 58 + 2 files changed, 60 insertions(+), 1 delet

[Ryu-devel] [PATCH] Fix POP_MPLS of ofctl_v1_3.to_actions() problem

2013-08-29 Thread Satoshi Kobayashi
POP_MPLS (class OFPActionPopMpls) requires ethertype. Signed-off-by: Satoshi Kobayashi --- ryu/lib/ofctl_v1_3.py |3 +- ryu/tests/unit/lib/test_ofctl_v1_3.py | 58 + 2 files changed, 60 insertions(+), 1 deletions(-) create mode 100644 ryu/te

[Ryu-devel] [PATCH 18/36] of12: update *.json after OFPxxxStats.length changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../unit/ofproto/json/of12/3-12-ofp_flow_stats_reply.packet.json | 4 .../ofproto/json/of12/3-32-ofp_group_features_stats_reply.packet.json | 1 + .../ofproto/json/of12/3-34-ofp_group_desc_stats_reply.packet.json | 1 + 3 files changed, 6 insertio

[Ryu-devel] [PATCH 33/36] of13: update *.json after OFPHelloElemVersionBitmap changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/json/of13/4-10-ofp_hello.packet.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ryu/tests/unit/ofproto/json/of13/4-10-ofp_hello.packet.json b/ryu/tests/unit/ofproto/json/of13/4-10-ofp_hello.packet.json index 182beec..d03ff84 1

[Ryu-devel] [PATCH 21/36] of13: update *.json after "len" "type" changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json | 4 +++- .../json/of13/4-12-ofp_flow_stats_reply.packet.json| 14 +++--- .../unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json| 5 - .../unit/ofproto/json/of13/4-21-ofp_grou

[Ryu-devel] [PATCH 25/36] of13: update *.json after OFPMatch "type" and "length" changes

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

[Ryu-devel] [PATCH 23/36] of13: update *.json after OFPQueuePropHeader.property change

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../ofproto/json/of13/4-36-ofp_queue_get_config_reply.packet.json | 4 1 file changed, 4 insertions(+) diff --git a/ryu/tests/unit/ofproto/json/of13/4-36-ofp_queue_get_config_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/4-36-ofp_queue_get_co

[Ryu-devel] [PATCH 29/36] of13: update *.json after multipart request/reply's "type" changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/json/of13/4-0-ofp_desc_reply.packet.json| 3 ++- .../unit/ofproto/json/of13/4-11-ofp_flow_stats_request.packet.json | 3 ++- ryu/tests/unit/ofproto/json/of13/4-12-ofp_flow_stats_reply.packet.json | 3 ++- ryu/tests/unit/ofprot

[Ryu-devel] [PATCH 27/36] of13: update *.json after OFPPacketOut.actions_len changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json b/ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json index e6bf245.

[Ryu-devel] [PATCH 28/36] of13: make multipart request/reply's "type" visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 64 +++--- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index e783bf8..708aca7 100644 --- a/ryu/ofpr

[Ryu-devel] [PATCH 06/36] of12: update *.json after OFPQueuePropHeader.property change

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../ofproto/json/of12/3-36-ofp_queue_get_config_reply.packet.json | 4 1 file changed, 4 insertions(+) diff --git a/ryu/tests/unit/ofproto/json/of12/3-36-ofp_queue_get_config_reply.packet.json b/ryu/tests/unit/ofproto/json/of12/3-36-ofp_queue_get_co

[Ryu-devel] [PATCH 04/36] of12: make OFPQueuePropHeader.property visible to user

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 5010d58..553c32a 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++ b/

[Ryu-devel] [PATCH 05/36] test_parser_v12: update after OFPQueuePropHeader.property change

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser_v12.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index 38916e1..afdfea3 100644 --- a/ryu/tests/unit/ofproto

[Ryu-devel] [PATCH 02/36] of12: update *.json after "len" "type" changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../unit/ofproto/json/of12/3-1-ofp_packet_out.packet.json | 4 +++- .../json/of12/3-12-ofp_flow_stats_reply.packet.json| 14 +++--- .../unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json| 5 - .../unit/ofproto/json/of12/3-21-ofp_grou

[Ryu-devel] [PATCH 19/36] test_parser_v12: update after OFPxxxStats.length changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser_v12.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index 5ed0d7e..a79347b 100644 --- a/ryu/tests/unit/ofproto/t

[Ryu-devel] [PATCH 11/36] test_parser_v12: update after OFPErrorExperimenterMsg.type changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser_v12.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index afdfea3..e3f0bda 100644 --- a/ryu/tests/unit/ofproto

[Ryu-devel] [PATCH 07/36] of12: make OFPMatch "type" and "length" visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 553c32a..037114e 100644 --- a/ryu/ofproto/ofproto_v1_2_parser

[Ryu-devel] [PATCH 24/36] of13: make OFPMatch "type" and "length" visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 4557d55..8addc47 100644 --- a/ryu/ofproto/ofproto_v1_3_p

[Ryu-devel] [PATCH 14/36] test_parser_v12: update after OFPPacketOut.actions_len changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser_v12.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index e3f0bda..5ed0d7e 100644 --- a/ryu/tests/unit/ofproto/test_

[Ryu-devel] [PATCH 36/36] test_parser: ensure that "len" "length" fields can be omitted

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser.py | 20 1 file changed, 20 insertions(+) diff --git a/ryu/tests/unit/ofproto/test_parser.py b/ryu/tests/unit/ofproto/test_parser.py index 4cf5641..6ad64c0 100644 --- a/ryu/tests/unit/ofproto/test_parser

[Ryu-devel] [PATCH 31/36] of13: update *.json after OFPxxxStats.length changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../ofproto/json/of13/4-12-ofp_flow_stats_reply.packet.json| 4 .../ofproto/json/of13/4-34-ofp_group_desc_reply.packet.json| 1 + .../ofproto/json/of13/4-48-ofp_meter_config_reply.packet.json | 1 + .../ofproto/json/of13/4-50-ofp_meter_stats_re

[Ryu-devel] [PATCH 26/36] of13: make OFPPacketOut.actions_len visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 8addc47..e783bf8 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++

[Ryu-devel] [PATCH 15/36] of12: make OFPStatsReply.type visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 7 --- 1 file changed, 7 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 5954cc1..45f0614 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++ b/ryu/ofproto/ofprot

[Ryu-devel] [PATCH 34/36] of13: make OFPMeterBand's "type" and "len" visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 6a39378..e6b8cc0 100644 --- a/ryu/ofproto/ofproto_v1_3

[Ryu-devel] [PATCH 30/36] of13: make OFPxxxStats.length visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 59 +++--- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 708aca7..ca35e69 100644 --- a/ryu/ofpr

[Ryu-devel] [PATCH 00/36] make some OFP attributes visible to users

2013-08-29 Thread YAMAMOTO Takashi
changes from the previous: - rebase - add more tests - rename variables for consistency YAMAMOTO Takashi (36): of12: some "len" "type" attributes visible to user of12: update *.json after "len" "type" changes test_parser_v12: update after "len" changes of12: make OFPQueuePropHeader.propert

[Ryu-devel] [PATCH 01/36] of12: some "len" "type" attributes visible to user

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 80 +- 1 file changed, 36 insertions(+), 44 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 833f17b..5010d58 100644 --- a/ryu/ofpr

[Ryu-devel] [PATCH 32/36] of13: make OFPHelloElemVersionBitmap's "type" and "length" to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index ca35e69..6a39378 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/

[Ryu-devel] [PATCH 08/36] of12: update *.json after OFPMatch "type" and "length" changes

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

[Ryu-devel] [PATCH 20/36] of13: some "len" "type" attributes visible to user

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 78 +- 1 file changed, 35 insertions(+), 43 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 1392604..fe366e0 100644 --- a/ryu/ofpr

[Ryu-devel] [PATCH 10/36] of12: update *.json after OFPErrorExperimenterMsg.type changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../unit/ofproto/json/of12/3-41-ofp_error_msg_experimenter.packet.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ryu/tests/unit/ofproto/json/of12/3-41-ofp_error_msg_experimenter.packet.json b/ryu/tests/unit/ofproto/json/of12/3-41-o

[Ryu-devel] [PATCH 22/36] of13: make OFPQueuePropHeader.property visible to user

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_3_parser.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index fe366e0..4557d55 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/

[Ryu-devel] [PATCH 09/36] of12: make OFPErrorExperimenterMsg.type visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 037114e..e97a1af 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++ b/r

[Ryu-devel] [PATCH 13/36] of12: update *.json after OFPPacketOut.actions_len changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/json/of12/3-1-ofp_packet_out.packet.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ryu/tests/unit/ofproto/json/of12/3-1-ofp_packet_out.packet.json b/ryu/tests/unit/ofproto/json/of12/3-1-ofp_packet_out.packet.json index e6bf245.

[Ryu-devel] [PATCH 12/36] of12: make OFPPacketOut.actions_len visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index e97a1af..5954cc1 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py ++

[Ryu-devel] [PATCH 16/36] of12: update *.json after OFPStatsReply.type changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/json/of12/3-0-ofp_desc_stats_reply.packet.json | 3 ++- ryu/tests/unit/ofproto/json/of12/3-12-ofp_flow_stats_reply.packet.json | 3 ++- .../unit/ofproto/json/of12/3-26-ofp_aggregate_stats_reply.packet.json | 3 ++- .../unit/ofproto/json

[Ryu-devel] [PATCH 03/36] test_parser_v12: update after "len" changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/ofproto/test_parser_v12.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto/test_parser_v12.py index cf09d26..38916e1 100644 --- a/ryu/tests/unit/of

[Ryu-devel] [PATCH 35/36] of13: update after OFPMeterBand changes

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- .../unit/ofproto/json/of13/4-45-ofp_meter_mod.packet.json| 12 +--- .../json/of13/4-48-ofp_meter_config_reply.packet.json| 4 +++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ryu/tests/unit/ofproto/json/of13/4-45-ofp_met

[Ryu-devel] [PATCH 17/36] of12: make OFPxxxStats.length visible to users

2013-08-29 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/ofproto/ofproto_v1_2_parser.py | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 45f0614..99e6c63 100644 --- a/ryu/ofproto/ofproto_

Re: [Ryu-devel] NULL characters are contained in OFPPort#name

2013-08-29 Thread Satoshi Kobayashi
Hi YAMAMOTO-san, Thank you for your quick reply. I see. I was using 2.2. I am looking forward to the next release. :) Thanks! Satoshi 2013/8/29 YAMAMOTO Takashi > > Hi all, > > > > I have noticed that NULL characters are contained in name of > Datapath#ports > > (class OFPPort). Probably othe

Re: [Ryu-devel] NULL characters are contained in OFPPort#name

2013-08-29 Thread YAMAMOTO Takashi
> Hi all, > > I have noticed that NULL characters are contained in name of Datapath#ports > (class OFPPort). Probably other places which are parsing the string are the > same also. > > For example: > OFPPort: > OFPPort(port_no=5,hw_addr='\x16\xdb\xeeMPZ',name='p0\x00\x00\x00\x00\x00\x00\x00\x00\x

[Ryu-devel] NULL characters are contained in OFPPort#name

2013-08-29 Thread Satoshi Kobayashi
Hi all, I have noticed that NULL characters are contained in name of Datapath#ports (class OFPPort). Probably other places which are parsing the string are the same also. For example: OFPPort: OFPPort(port_no=5,hw_addr='\x16\xdb\xeeMPZ',name='p0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00