[Ryu-devel] [PATCH 4/4] packet lib: ipv6: avoid dangerous default value [] as argument

2013-09-24 Thread Yuichi Ito
Signed-off-by: itoyuichi --- ryu/lib/packet/ipv6.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ryu/lib/packet/ipv6.py b/ryu/lib/packet/ipv6.py index ca5793d..4131491 100644 --- a/ryu/lib/packet/ipv6.py +++ b/ryu/lib/packet/ipv6.py @@ -68,7 +68,7 @@ class ipv6

[Ryu-devel] [PATCH 1/4] packet lib: ipv6: remove unnecessary import

2013-09-24 Thread Yuichi Ito
Signed-off-by: itoyuichi --- ryu/lib/packet/ipv6.py |2 -- 1 file changed, 2 deletions(-) diff --git a/ryu/lib/packet/ipv6.py b/ryu/lib/packet/ipv6.py index 56129c3..3e55f23 100644 --- a/ryu/lib/packet/ipv6.py +++ b/ryu/lib/packet/ipv6.py @@ -15,9 +15,7 @@ import abc import struct -import

[Ryu-devel] [PATCH 2/4] packet lib: ipv6: support udp

2013-09-24 Thread Yuichi Ito
Signed-off-by: itoyuichi --- ryu/lib/packet/ipv6.py |2 ++ 1 file changed, 2 insertions(+) diff --git a/ryu/lib/packet/ipv6.py b/ryu/lib/packet/ipv6.py index 3e55f23..8f4b50d 100644 --- a/ryu/lib/packet/ipv6.py +++ b/ryu/lib/packet/ipv6.py @@ -18,6 +18,7 @@ import struct from . import packe

[Ryu-devel] [PATCH 0/4] packet lib: ipv6: simplify the operations of __init__() and so on

2013-09-24 Thread Yuichi Ito
itoyuichi (4): packet lib: ipv6: remove unnecessary import packet lib: ipv6: support udp packet lib: ipv6: simplify the operations of __init__() packet lib: ipv6: avoid dangerous default value [] as argument ryu/lib/packet/ipv6.py | 67 ++-- r

[Ryu-devel] [PATCH 3/4] packet lib: ipv6: simplify the operations of __init__()

2013-09-24 Thread Yuichi Ito
before applying this patch: - ipv6.parser() uses 'nxt' of the last extension header - ipv6.__init__() rewrites 'nxt' in conjunction with extension headers - 'nxt' of the extension headers are set automatically, i.e. they are obscure after applying this patch: - ipv6.parser() does not consi

Re: [Ryu-devel] ofproto

2013-09-24 Thread YAMAMOTO Takashi
> On Wed, 25 Sep 2013 11:45:04 +0900 (JST) > [email protected] (YAMAMOTO Takashi) wrote: > >> i want to reduce differences between 1.2 and 1.3 parsers >> by substituting >> from . import ofproto_v1_X >> with something like >> from . import ofproto_v1_X as ofproto_this_version > > We

Re: [Ryu-devel] ofproto

2013-09-24 Thread FUJITA Tomonori
On Wed, 25 Sep 2013 11:45:04 +0900 (JST) [email protected] (YAMAMOTO Takashi) wrote: > i want to reduce differences between 1.2 and 1.3 parsers > by substituting > from . import ofproto_v1_X > with something like > from . import ofproto_v1_X as ofproto_this_version We intentionally a

[Ryu-devel] [PATCH 2/3] implement BGP-4 streaming parser

2013-09-24 Thread YAMAMOTO Takashi
--- ryu/lib/packet/bgp.py | 26 +++--- ryu/tests/unit/packet/test_bgp.py | 32 ++-- 2 files changed, 49 insertions(+), 9 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index a6d5f4d..4c2119c 100644 --- a/ryu/lib/

[Ryu-devel] [PATCH 0/3] bgp-4 streaming parser

2013-09-24 Thread YAMAMOTO Takashi
this set is after bgp patches i posted yesterday. YAMAMOTO Takashi (3): streaming parser base class implement BGP-4 streaming parser doc: hook up streaming parser docs doc/source/library_packet_ref.rst | 9 + ryu/lib/packet/bgp.py | 26 +++-- ryu/lib/packet/stream_

[Ryu-devel] [PATCH 1/3] streaming parser base class

2013-09-24 Thread YAMAMOTO Takashi
will be used for BGP-4. --- ryu/lib/packet/stream_parser.py | 77 + 1 file changed, 77 insertions(+) create mode 100644 ryu/lib/packet/stream_parser.py diff --git a/ryu/lib/packet/stream_parser.py b/ryu/lib/packet/stream_parser.py new file mode 100644 inde

[Ryu-devel] [PATCH 3/3] doc: hook up streaming parser docs

2013-09-24 Thread YAMAMOTO Takashi
--- doc/source/library_packet_ref.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/source/library_packet_ref.rst b/doc/source/library_packet_ref.rst index 2831de3..b5e1c9d 100644 --- a/doc/source/library_packet_ref.rst +++ b/doc/source/library_packet_ref.rst @@ -8,6 +8,15 @@ P

[Ryu-devel] ofproto

2013-09-24 Thread YAMAMOTO Takashi
hi, i want to reduce differences between 1.2 and 1.3 parsers by substituting from . import ofproto_v1_X with something like from . import ofproto_v1_X as ofproto_this_version any comments? YAMAMOTO Takashi -- Oc

[Ryu-devel] Bug on link discovery

2013-09-24 Thread Tonhão - Antonio Brasolin
Hello, I have run into a problem with the current version of RYU on master. I'm not sure what is causing it, but the topology discovery is discovering many links that are not in the topology. I'm using mininet, the command is: sudo mn --topo linear,5 --controller remote The topology should be h1-