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
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
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 ..."
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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/
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
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
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
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
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
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
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_
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
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
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
+++
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
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
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
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
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
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/
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
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
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
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/
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
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.
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
++
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
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
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
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_
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
> 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
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
49 matches
Mail list logo