[Ryu-devel] [PATCH v2] lacplib: set the max priority to LACP flow entries

2013-11-06 Thread Yuichi Ito
Changes v1 -> v2: - correct the following expression The measure against the default priority of OFPFlowMod of OFP1.2/1.3 being 0. Signed-off-by: Yuichi Ito --- ryu/lib/lacplib.py |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ryu/lib/lacplib.py b/ryu/lib/lacpl

[Ryu-devel] [PATCH] lacplib: set the max priority to LACP flow entries

2013-11-06 Thread Yuichi Ito
The measure against the default primary of OFPFlowMod of OFP1.2/1.3 being 0. Signed-off-by: Yuichi Ito --- ryu/lib/lacplib.py |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ryu/lib/lacplib.py b/ryu/lib/lacplib.py index 9b1600f..48859c0 100644 --- a/ryu/lib/lacplib

[Ryu-devel] Loops in networks

2013-11-06 Thread Aldas Dise
Hello, I have an OpenFlow network in Mininet that contains loops. Does Ryu support loops (therefore STP) in networks? How could I invoke spanning-tree in Ryu if it is possible. Regards, Aldas -- November Webinars for

[Ryu-devel] [PATCH 10/10] packet lib: add unittests that use default parameters of IPv4/IPv6 and ICMP/ICMPv6

2013-11-06 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/unit/packet/test_packet.py | 249 ++ 1 file changed, 249 insertions(+) diff --git a/ryu/tests/unit/packet/test_packet.py b/ryu/tests/unit/packet/test_packet.py index a97c6e8..d5c0375 100644 --- a/ryu/tests/unit/packet/test

[Ryu-devel] [PATCH 07/10] packet lib: icmpv6: support default parameters and the auto calculation of lengths

2013-11-06 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmpv6.py | 35 +-- ryu/tests/unit/packet/test_icmpv6.py | 421 ++ 2 files changed, 443 insertions(+), 13 deletions(-) diff --git a/ryu/lib/packet/icmpv6.py b/ryu/lib/packet/icmpv6.py index bcf1fff..d4bb0

[Ryu-devel] [PATCH 09/10] packet lib: icmp: support default parameters

2013-11-06 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmp.py |7 -- ryu/tests/unit/packet/test_icmp.py | 41 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py index d3d4cdd..a0ac118 10

[Ryu-devel] [PATCH 06/10] packet lib: icmpv6: support len(icmpv6.*)

2013-11-06 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmpv6.py | 39 +++ 1 file changed, 39 insertions(+) diff --git a/ryu/lib/packet/icmpv6.py b/ryu/lib/packet/icmpv6.py index 5d4146f..bcf1fff 100644 --- a/ryu/lib/packet/icmpv6.py +++ b/ryu/lib/packet/icmpv6.py @@

[Ryu-devel] [PATCH 08/10] packet lib: icmp: support len(icmp.*)

2013-11-06 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmp.py | 21 + 1 file changed, 21 insertions(+) diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py index e383e21..d3d4cdd 100644 --- a/ryu/lib/packet/icmp.py +++ b/ryu/lib/packet/icmp.py @@ -115,6 +115,9 @@ class icmp(

[Ryu-devel] [PATCH 04/10] packet lib: icmpv6: include type and length in nd_option object

2013-11-06 Thread Yuichi Ito
the purpose is to simplify the creation of the nd_router_advert object. Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmpv6.py | 231 -- ryu/tests/unit/packet/test_icmpv6.py | 66 +- 2 files changed, 139 insertions(+), 158 deletions(-) diff

[Ryu-devel] [PATCH 05/10] packet lib: icmpv6: omit type of nd_option object

2013-11-06 Thread Yuichi Ito
because the kind of a nd_option object and type express the same thing. with such changes, nd_option_la was inherited by nd_option_sla and nd_option_tla. Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmpv6.py | 149 +++--- ryu/tests/unit/packet/test_icmp

[Ryu-devel] [PATCH 03/10] packet lib: icmpv6: move ND_OPTION_* constants from classes to the module

2013-11-06 Thread Yuichi Ito
the purpose is to avoid keeping the same constant values at several places. Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmpv6.py | 31 +++ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/ryu/lib/packet/icmpv6.py b/ryu/lib/packet/icmpv6.py index 256

[Ryu-devel] [PATCH 02/10] packet lib: icmpv6: change the timing of bit shift

2013-11-06 Thread Yuichi Ito
As well as the automatic calculation, do bit shift when encoding. Signed-off-by: Yuichi Ito --- ryu/lib/packet/icmpv6.py | 23 +-- ryu/tests/unit/packet/test_icmpv6.py |4 ++-- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/ryu/lib/packet/i

[Ryu-devel] [PATCH 01/10] packet lib: icmpv6: correct typos

2013-11-06 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/unit/packet/test_icmpv6.py |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/tests/unit/packet/test_icmpv6.py b/ryu/tests/unit/packet/test_icmpv6.py index 0a33ca0..81d7445 100644 --- a/ryu/tests/unit/packet/test_icmpv6.py +++

[Ryu-devel] [PATCH 00/10] packet lib: support default parameters

2013-11-06 Thread Yuichi Ito
Yuichi Ito (10): packet lib: icmpv6: correct typos packet lib: icmpv6: change the timing of bit shift packet lib: icmpv6: move ND_OPTION_* constants from classes to the module packet lib: icmpv6: include type and length in nd_option object packet lib: icmpv6: omit type of nd_option ob

Re: [Ryu-devel] [PATCH v2] RFC: changing ICMPv6 nd_option structure

2013-11-06 Thread Yuichi Ito
On Wed, 6 Nov 2013 11:19:36 +0900 Satoshi Kobayashi wrote: > +1 > > Even if it loses backward compatibility, I think that it is useful. thank you for your comment. well, I will create patches which made the changed part the subdivision. > > 2013/11/6 Yuichi Ito mailto:[email protected]>> >