[Ryu-devel] [PATCH] app_manager: fix close dict handling bug

2013-03-21 Thread OHMURA Kei
Signed-off-by: OHMURA Kei --- ryu/base/app_manager.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index a3abc85..9937df5 100644 --- a/ryu/base/app_manager.py +++ b/ryu/base/app_manager.py @@ -218,7 +218,7 @@ class AppMan

[Ryu-devel] [PATCH] ryu-manager: use try-finally statement

2013-03-21 Thread OHMURA Kei
This fixes a problem that app_mgr.close() is not called when KeyboardInterrupt exception occurs. Signed-off-by: OHMURA Kei --- bin/ryu-manager |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ryu-manager b/bin/ryu-manager index 03b1b79..c371454 100755 --- a/bin/ry

Re: [Ryu-devel] Some random(?) errors

2013-03-21 Thread can.
Hello Yamahata, I tested your patch and got new errors. Might be something with it. Error in the datapath 2 from ('10.109.242.118', 58063) Traceback (most recent call last): File "build/bdist.macosx-10.8-intel/egg/gevent/greenlet.py", line 390, in run result = self._run(*self.args, **self.kw

Re: [Ryu-devel] Some random(?) errors

2013-03-21 Thread Isaku Yamahata
Thank you for the packet capture. It looks like the switch sends malfold OF packets. What switch are you using? I attached the patch which improve an error message. Can you please test it? > OpenFlow Protocol > Header > Version: 0x01 > Type: Packet In (AM) (10) > Length

[Ryu-devel] [PATCH v3 3/3] add ofctl_v1_2 library

2013-03-21 Thread watanabe.fumitaka
This is a openflow v1.2 control library. This file is same as PATCH v2 . There is no change. Signed-off-by: WATANABE Fumitaka --- ryu/lib/ofctl_v1_2.py | 253 + 1 file changed, 253 insertions(+) create mode 100755 ryu/lib/ofctl_v1_2.py diff --

[Ryu-devel] [PATCH v3 2/3] update ofctl_v1_0 library

2013-03-21 Thread watanabe.fumitaka
This patch contains the update for ofctl_v1_0 library. This file is same as PATCH v2 . There is no change. Signed-off-by: WATANABE Fumitaka --- ryu/lib/ofctl_v1_0.py | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/ryu/lib/ofctl_v1_0.py b/ryu/

[Ryu-devel] [PATCH v3 1/3] add firewall Ryu application

2013-03-21 Thread watanabe.fumitaka
This application operates a switch as a firewall. v3 update is only for this file. Signed-off-by: WATANABE Fumitaka --- ryu/app/rest_firewall.py | 681 ++ 1 file changed, 681 insertions(+) create mode 100644 ryu/app/rest_firewall.py diff --git a/

[Ryu-devel] [PATCH v3 0/3] add firewall Ryu application

2013-03-21 Thread watanabe.fumitaka
This patch implements a Firewall Ryu application. This update(v2->v3) contains the following changes. update is only for "rest_firewall.py". add validation check for RESTcommand. restrict cookie value increment. switchID's format changes into the same as datapathID. remove unused local va