[Ryu-devel] [PATCH] document: ryu.app.gui_topology

2014-06-22 Thread YAMADA Hideki
Signed-off-by: YAMADA Hideki --- doc/source/configuration.rst |1 + doc/source/gui.png | Bin 0 -> 24672 bytes doc/source/gui.rst | 33 + 3 files changed, 34 insertions(+) create mode 100644 doc/source/gui.png create mode 100644 doc/so

[Ryu-devel] [ANNOUNCE] Ubuntu package (for 14.04)

2014-06-22 Thread FUJITA Tomonori
Hi, To make the installation easier, we created Ubuntu Ryu packages for 14.04. $ sudo add-apt-repository http://sourceforge.net/projects/ryu/files/Packages/Ubuntu/ $ sudo apt-get update $ sudo apt-get install ryu-bin $ sudo apt-get install python-ryu-doc btw, anyone knows the procedure to make

[Ryu-devel] [PATCH 14/14] sw test tool: Add default test files (of14: new features)

2014-06-22 Thread Yuichi Ito
OF 1.4.0 spec (B.14.14 PBB UCA header field) says: A new OXM field OFPXMT_OFB_PBB_UCA has been added to match the "use customer address" header field from the PBB header (EXT-256). These test files aim to examine new features of 'set-field action' and 'match' of FlowMod message. Signed

[Ryu-devel] [PATCH 07/14] sw test tool: Modify OFPActionSetField to normalize

2014-06-22 Thread Yuichi Ito
This patch is for avoiding the following issues when using ofproto_v1_4_parser: - OFPActionSetField that is created from JSON keeps unicode strings, instead of usual strings. - In OFPActionSetField that is created from JSON, IPv6 formats like 'ff::0' or '00ff:::::::00

[Ryu-devel] [PATCH 08/14] sw test tool: run_mininet: support Open vSwitch with OpenFlow 1.4

2014-06-22 Thread Yuichi Ito
usage) to use Open vSwitch with OpenFlow 1.4: sudo ryu/tests/switch/run_mininet.py --swtich ovs14 to use Open vSwitch with OpenFlow 1.3: sudo ryu/tests/switch/run_mininet.py --switch ovs13 or sudo ryu/tests/switch/run_mininet.py --switch ovs or sudo ryu/tests/switc

[Ryu-devel] [PATCH 06/14] sw test tool: Modify OFPMatch to normalize

2014-06-22 Thread Yuichi Ito
This patch is for avoiding the following issues when using ofproto_v1_4_parser: - OFPMatch that is created from JSON keeps unicode strings, instead of usual strings. - In OFPMatch that is created from JSON, IPv6 formats like 'ff::0' or '00ff:::::::' are not normal

[Ryu-devel] [PATCH 05/14] sw test tool: Enable using connected switches to compare

2014-06-22 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py | 43 ++- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index d3e22d3..9cf65e9 100644 --- a/ryu/tests/switch/tester.py +++ b

[Ryu-devel] [PATCH 04/14] sw test tool: Enable using user-specified versions to parse

2014-06-22 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index d104a58..d3e22d3 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/test

[Ryu-devel] [PATCH 03/14] sw test tool: Add support for using user-specified versions

2014-06-22 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/tests/switch/tester.py | 56 +--- 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 98788a9..d104a58 100644 --- a/ryu/tests/switch/tester.py +++ b

[Ryu-devel] [PATCH 02/14] ryu/flags: Add config parameters related sw test tool

2014-06-22 Thread Yuichi Ito
Signed-off-by: Yuichi Ito --- ryu/flags.py |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ryu/flags.py b/ryu/flags.py index 98cb96c..7c50e69 100644 --- a/ryu/flags.py +++ b/ryu/flags.py @@ -56,5 +56,11 @@ CONF.register_cli_opts([ cfg.StrOpt('target', default='0

[Ryu-devel] [PATCH 00/14] sw test tool: Add support for OpenFlow 1.4

2014-06-22 Thread Yuichi Ito
The switch test tool is now enabled to support OpenFlow 1.4. The following options can newly be used: - --test-switch-target-version (target sw ofp version) - --test-switch-tester-version (tester sw ofp version) The above options are able to set either 'openflow13' or 'openflow14' (case

[Ryu-devel] [PATCH 01/14] sw test tool: Modify conditions of ofp_packet_in_reason

2014-06-22 Thread Yuichi Ito
OF 1.4.0 spec (B.14.2 More descriptive reasons for packet-in) says: The main change is that the the "output action" reason OFPR_ACTION is effectively split into four reasons, "apply-action", "action-set", "group bucket" and "packet-out", representing the four distinct context where t

Re: [Ryu-devel] VLAN_VIDs in ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json

2014-06-22 Thread takahashi.minoru
On Mon, 23 Jun 2014 12:27:02 +0800 Pyxis LX wrote: > Hello, > > I'm testing switches with the switch test tool. > > I've found that the values of VLAN_VID look quite strange in this file: > > ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json > > In line 15, 30, 79, 94, 143, 158 we hav

[Ryu-devel] VLAN_VIDs in ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json

2014-06-22 Thread Pyxis LX
Hello, I'm testing switches with the switch test tool. I've found that the values of VLAN_VID look quite strange in this file: ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json In line 15, 30, 79, 94, 143, 158 we have VLAN_VID 4196 and 4299 respectively. Should they be 100 and 203 or

Re: [Ryu-devel] Event Management

2014-06-22 Thread FUJITA Tomonori
On Mon, 23 Jun 2014 13:01:17 +1000 Paul Zanna wrote: > Really?! So it doesn't stop duplicate Packet_Outs from being created? Sending duplicated PacketOut could be the intention (e.g. testing a OF switch). Ryu doesn't know what applications want to do. So Ryu doesn't restrict anything. > Does i

Re: [Ryu-devel] About restAPI question for idel-timeout/hard-timeout

2014-06-22 Thread jalee
Got it, Thanks your help. BR, Jalee -Original Message- From: takahashi.minoru [mailto:[email protected]] Sent: Monday, June 23, 2014 12:00 PM To: jalee; [email protected] Subject: Re: [Ryu-devel] About restAPI question for idel-timeout/hard-timeout On Sun, 22 Jun

Re: [Ryu-devel] About restAPI question for idel-timeout/hard-timeout

2014-06-22 Thread takahashi.minoru
On Sun, 22 Jun 2014 01:24:40 +0800 jalee wrote: > Hi All, > > Can I use REST_API add idle-timeout/hard-timeout into the flow entry, could > you tell me how can I edit it? > > Thanks, > > > > Jalee > > > > Such as: > > curl -d '{"cookie": "1", > > "dpid": "0001",

Re: [Ryu-devel] Event Management

2014-06-22 Thread Paul Zanna
Really?! So it doesn't stop duplicate Packet_Outs from being created? Does it apply any priority or order that the applications receive event notifications in? On 23 June 2014 12:46, FUJITA Tomonori wrote: > On Sat, 21 Jun 2014 11:24:50 +1000 > Paul Zanna wrote: > > > How does RYU handle event

Re: [Ryu-devel] Event Management

2014-06-22 Thread FUJITA Tomonori
On Sat, 21 Jun 2014 11:24:50 +1000 Paul Zanna wrote: > How does RYU handle event priorities? For example if 2 applications > register for Packet_In events and both produce Packet_Out responses, do > both applications receive the notification but only one can produce a > response? An event are de

Re: [Ryu-devel] Welcome to the "Ryu-devel" mailing list

2014-06-22 Thread FUJITA Tomonori
Hi, On Thu, 19 Jun 2014 22:56:12 +0530 Digambar Patil wrote: > I want to contribute to the RYU, Can someone help me on this. What kinda help you need? -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk

Re: [Ryu-devel] Ryu's BGP speaker for OpenStack Dynamic Routing

2014-06-22 Thread FUJITA Tomonori
Hi, On Thu, 19 Jun 2014 18:00:34 +0200 Jaume Devesa wrote: > my name is Jaume Devesa from Midokura. I have presented a *spec * for > OpenStack Juno to create a Dynamic Router agent to advertise and discover > dynamically routes from Neutron routers to upstream[1]. > > Thanks to Ryu's clean API

Re: [Ryu-devel] [PATCH 2/2] bgp: fix ipv6 peering regression

2014-06-22 Thread YAMAMOTO Takashi
> Workaround. Needs to clean up get_peername and get_sockname usage. i agree. > @@ -426,7 +427,9 @@ class CoreService(Factory, Activity): > subcode = BGP_ERROR_SUB_CONNECTION_COLLISION_RESOLUTION > bgp_proto.send_notification(code, subcode) > else: > -

Re: [Ryu-devel] [PATCH 1/4] library_bgp_speaker.rst: make an example more complete

2014-06-22 Thread YAMAMOTO Takashi
> On Fri, 20 Jun 2014 15:51:58 +0900 > YAMAMOTO Takashi wrote: > >> also, while i'm here, remove trailing whitespaces in the example. >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> doc/source/library_bgp_speaker.rst | 18 +++--- >> 1 file changed, 15 insertions(+), 3 deletions(-)

Re: [Ryu-devel] [PATCH 1/2] bgp: fix best_path_change_handler for best_path_lost

2014-06-22 Thread FUJITA Tomonori
On Sun, 22 Jun 2014 17:24:36 +0900 FUJITA Tomonori wrote: > Signed-off-by: FUJITA Tomonori > --- > ryu/services/protocols/bgp/info_base/ipv4.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied both. -

[Ryu-devel] [PATCH 2/2] bgp: fix ipv6 peering regression

2014-06-22 Thread FUJITA Tomonori
Workaround. Needs to clean up get_peername and get_sockname usage. Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/core.py| 5 - ryu/services/protocols/bgp/peer.py| 4 ++-- ryu/services/protocols/bgp/speaker.py | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) d

[Ryu-devel] [PATCH 1/2] bgp: fix best_path_change_handler for best_path_lost

2014-06-22 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/info_base/ipv4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/info_base/ipv4.py b/ryu/services/protocols/bgp/info_base/ipv4.py index de0d4c7..13d7f62 100644 --- a/ryu/services/proto