[Ryu-devel] [PATCH] packet lib: ipv6: support Routing header (type3)

2014-04-23 Thread takahashi.minoru
Signed-off-by: TAKAHASHI Minoru --- ryu/lib/packet/ipv6.py | 159 +- ryu/tests/unit/packet/test_ipv6.py | 319 2 files changed, 476 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/ipv6.py b/ryu/lib/packet/ipv6.py index

[Ryu-devel] [PATCH] tests/integrated: Use max_len=OFPCML_NO_BUFFER to prevent buffer allocation

2014-04-23 Thread Simon Horman
If the buffer_id of a message received by a controller is -1 (0x) then no buffer is used by that message. In this case the controller may allocate a buffer for use by resulting packet_in messages unless the max_len of output action that causes the packet_in message is OFPCML_NO_BUFFER (0xf

[Ryu-devel] [PATCH 2/2] tests/integrated: Use table_id greater than the current table for goto-table instruction

2014-04-23 Thread Simon Horman
For a goto-table instruction use a table_id greater than the table in which a flow will be inserted. OpenFlow 1.2 section 5.6 stipulates that this is required. I noticed this when using Open vSwitch's "make ryu-check" as Open vSwitch enforces the above stipulation. Signed-off-by: Simon Horman -

[Ryu-devel] [PATCH 1/2] tests/integrated: Specify table_id for flow_mod modify tests

2014-04-23 Thread Simon Horman
Use actual table ids rather than OFPTT_ALL for flow_mod modify tests as OpenFlow 1.2 section A3.4.1 stipulates that OFPTT_ALL is only valid for flow_mod delete requests. I noticed this when using Open vSwitch's "make ryu-check" as Open vSwitch enforces the above stipulation. Signed-off-by: Simon

[Ryu-devel] [PATCH 0/2] tests/integrated: Adjust tests to follow OpenFlow1.2

2014-04-23 Thread Simon Horman
Hi, while testing the "make check-ryu" target provided by Open vSwtich I observed that some tests seem to fail because of enforcement of portions of the OpenFlow1.2 specification by Open vSwtich. This short series attempts to resolve two such problems. I plan to continue work in this area. Simo

Re: [Ryu-devel] [PATCH 2/2] bgp: fix connect timeout error

2014-04-23 Thread FUJITA Tomonori
On Wed, 23 Apr 2014 11:55:07 +0900 FUJITA Tomonori wrote: > RROR 2014-04-23 11:54:59,239 hub 58 hub: uncaught exception: Traceback (most > recent c\ > all last): > File "/Users/fujita/git/ryu/ryu/lib/hub.py", line 50, in _launch > func(*args, **kwargs) > File "/Users/fujita/git/ryu/ryu/s

Re: [Ryu-devel] [PATCH 1/2] bgp: add __init__.py files

2014-04-23 Thread FUJITA Tomonori
On Wed, 23 Apr 2014 11:55:06 +0900 FUJITA Tomonori wrote: > Signed-off-by: FUJITA Tomonori > --- > ryu/services/protocols/bgp/__init__.py | 0 > ryu/services/protocols/bgp/api/__init__.py | 0 > ryu/services/protocols/bgp/operator/__init__.py | 0 > ryu/

Re: [Ryu-devel] SW Tests: Incorrect packets sent to target switch

2014-04-23 Thread Yuichi Ito
Hi, thank you for reporting again. I'm creating a fix patch now. Please wait for a while. On Tue, 22 Apr 2014 17:43:01 +0800 arne_goetje wrote: > Dear all, > > I found that some tests send incorrect packets on the data plane to the > target switch. This can cause problems, as incorrect packets

[Ryu-devel] Handling eventSwitchRequest and eventLinkRequest in switches.py

2014-04-23 Thread Karthik Sharma
Hi, I have added the following code to the packet_in event handler of simple_switch.py to print out the topology (The new code is highlighted in red.) to get the topology information from RYU. -- @set_e