Re: [Ryu-devel] Ryu application for DHCPServer

2015-10-09 Thread alyosha
Dear All: I tried with the newest udp parser and "dhcpPacket = pkt.get_protocol(dhcp.dhcp)" worked well. Please find the attached pach and give comments.** Best regards. On 2015/10/07 22:36, alyosha wrote: Sorry, I dropped mailing list. Hi, Mr. Yi Tseng. Thank you for comments. >>That

Re: [Ryu-devel] Ryu controller for OpenStack

2015-10-09 Thread fumihiko kakuma
Hi, On Thu, 8 Oct 2015 10:59:06 +0200 Alioune wrote: > Please may I know: > > How to create the new agent for multiple nodes ? > I do not know how much time it takes to explain it from the beginning. It is out of a work range of this ML. You can find many samples about an agent in neutron re

[Ryu-devel] [PATCH 3/5] tester: Remove too broad exception handling

2015-10-09 Thread IWASE Yusuke
Because too broad exception handling obscures errors while testing, it makes difficult to detect the bugs in tester.py or the test pattern files. This patch removes an except statement and avoid this problem. Signed-off-by: IWASE Yusuke --- ryu/tests/switch/tester.py | 3 --- 1 file changed, 3 d

[Ryu-devel] [PATCH 5/5] tester: Use six.binary_type for binary data comparison

2015-10-09 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/tests/switch/tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 5182d45..c01e8b9 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -953,7 +953

[Ryu-devel] [PATCH 4/5] tester: Enable to sort instructions instance by type

2015-10-09 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/tests/switch/tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 3af7f76..5182d45 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -912,8 +912

[Ryu-devel] [PATCH 0/5] tester: Support Python3

2015-10-09 Thread IWASE Yusuke
Currently, the switch test tool pass the unit tests (with some warning), but the tool does not work enough with Python3. The following patches fix the switch test tool and the test pattern files in order to adopt to Python3 syntax. IWASE Yusuke (5): tester: Adapt to Python3 dictview tester: S

[Ryu-devel] [PATCH 1/5] tester: Adapt to Python3 dictview

2015-10-09 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/tests/switch/tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 5087614..f5bbd53 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -419,7 +419