Re: [Ryu-devel] handler for switch disconnected

2013-02-25 Thread OHMURA Kei
2013/2/26 oshiba : > Hi all, > > I would like to proceed some works when switch disconnected. > But I don't found handler for switch disconnected. > Please tell me handler of this and how to use it. > > Note: > I found DEAD_DISPATCHER, but I cannot found event name of this. > And I use Ryu with ver

[Ryu-devel] handler for switch disconnected

2013-02-25 Thread oshiba
Hi all, I would like to proceed some works when switch disconnected. But I don't found handler for switch disconnected. Please tell me handler of this and how to use it. Note: I found DEAD_DISPATCHER, but I cannot found event name of this. And I use Ryu with verbose mode, but display event of cha

[Ryu-devel] [PATCH] of1.2: fix OFPErrorExperimenterMsg

2013-02-25 Thread KONDOH Tasuku
- add OFPErrorExperimenterMsg. Signed-off-by: KONDOH Tasuku --- ryu/ofproto/ofproto_v1_2_parser.py| 26 ++ ryu/tests/unit/ofproto/test_parser_v12.py | 23 +++ 2 files changed, 49 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_2_parser.p

Re: [Ryu-devel] What is a status of failing mininet tests(ryu/tests/mininet).

2013-02-25 Thread HIYAMA Manabu
Hi Piotr, I understand your environment. As you say, OVS that version does not support OF1.2. If possible, please download the latest version from here: git://openvswitch.org/openvswitch I recommend you uninstall the current OVS before installing this. The install procedure is as follows. For mo

Re: [Ryu-devel] Latest Ryu support with devstack

2013-02-25 Thread Kyle Mestery (kmestery)
Yes, that looks right, I just gave you +1 and killed mine. Thanks! Kyle On Feb 25, 2013, at 3:40 PM, Isaku Yamahata wrote: > Hi thank you. > > I believe I'm addressing it. > https://review.openstack.org/#/c/21932/2 > https://review.openstack.org/#/c/21933/ > > Can you please take a look at th

Re: [Ryu-devel] [PATCH] of1.3: fix multiple bugs in ofproto_v1_3.py and ofproto_v1_3_parser.py.

2013-02-25 Thread FUJITA Tomonori
On Mon, 25 Feb 2013 13:54:53 + 张东亚 wrote: Thanks for finding. > --- > ryu/ofproto/ofproto_v1_3.py| 10 +- > ryu/ofproto/ofproto_v1_3_parser.py | 19 +++ > 2 files changed, 16 insertions(+), 13 deletions(-) > > diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/o

Re: [Ryu-devel] Latest Ryu support with devstack

2013-02-25 Thread Isaku Yamahata
Hi thank you. I believe I'm addressing it. https://review.openstack.org/#/c/21932/2 https://review.openstack.org/#/c/21933/ Can you please take a look at them? thanks, On Mon, Feb 25, 2013 at 09:17:05PM +, Kyle Mestery (kmestery) wrote: > Hi: > > The latest Ryu has changes around the confi

[Ryu-devel] Latest Ryu support with devstack

2013-02-25 Thread Kyle Mestery (kmestery)
Hi: The latest Ryu has changes around the configuration file which are preventing it from working with devstack. I have made changes to devstack to address that under this review here: https://review.openstack.org/#/c/22896/ Would appreciate if someone from the Ryu team could have a look and v

[Ryu-devel] [PATCH] of1.3: fix multiple bugs in ofproto_v1_3.py and ofproto_v1_3_parser.py.

2013-02-25 Thread 张东亚
--- ryu/ofproto/ofproto_v1_3.py| 10 +- ryu/ofproto/ofproto_v1_3_parser.py | 19 +++ 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py index 1ff6428..f3c9d5e 100644 --- a/ryu/ofproto/ofproto_v1

Re: [Ryu-devel] What is a status of failing mininet tests(ryu/tests/mininet).

2013-02-25 Thread Piotr Niedzwiedz
Hi Hiyama, I've upgraded my Ubuntu to 12.10 and have installed the latest version of MiniNet and Openvswitch from Ubuntu repositories. # mn --version 2.0.0 # ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 1.4.3 Compiled Feb 18 2013 12:58:36 OpenFlow versions 0x1:0x1 Right now minin

Re: [Ryu-devel] [PATCH] try to sync documentation with the reality

2013-02-25 Thread FUJITA Tomonori
On Mon, 25 Feb 2013 16:36:31 +0900 (JST) yamam...@valinux.co.jp (YAMAMOTO Takashi) wrote: > it was after s/_/-/ changes. > do you want me change the order of patches for some reasons? I've applied this with the 's/_/-/' patchset. Thanks,

Re: [Ryu-devel] [PATCH] appease pep8

2013-02-25 Thread FUJITA Tomonori
On Mon, 25 Feb 2013 17:43:37 +0900 YAMAMOTO Takashi wrote: > Signed-off-by: YAMAMOTO Takashi > --- > ryu/controller/network.py | 3 ++- > ryu/lib/packet/icmpv6.py | 3 ++- > ryu/lib/packet/ipv6.py| 2 +- > ryu/lib/xflow/sflow.py| 18 +- > 4 files changed, 14 insertio

Re: [Ryu-devel] [PATCH] of1.2: add test code of max, min, and pattern. review of the test code

2013-02-25 Thread FUJITA Tomonori
On Mon, 25 Feb 2013 17:09:18 +0900 KONDOH Tasuku wrote: > > Signed-off-by: KONDOH Tasuku > --- > ryu/tests/unit/ofproto/test_ether.py | 37 + > ryu/tests/unit/ofproto/test_inet.py | 43 + > ryu/tests/unit/ofproto/test_ofproto_common.py | 37 + > ryu/tests/unit/ofproto/

[Ryu-devel] [PATCH 1/3] add cli ryu application

2013-02-25 Thread YAMAMOTO Takashi
this consists of: - a simple internal management api (management.py) - a user interface backend (cli.py) Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager| 1 + ryu/app/cli.py | 147 + ryu/base/management.py | 57 ++

[Ryu-devel] [PATCH 3/3] ryu-manager: stop modifying CONF.app_list

2013-02-25 Thread YAMAMOTO Takashi
to make cli show-options a little prettier. Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/ryu-manager b/bin/ryu-manager index f2a57f1..18a38d6 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -59,11 +59,10 @@

[Ryu-devel] [PATCH 0/3] a simple management CLI RyuApp

2013-02-25 Thread YAMAMOTO Takashi
implement a simple management CLI Ryu application. reflected comments from FUJITA Tomonori and Isaku Yamahata. YAMAMOTO Takashi (3): add cli ryu application cli: require telnetsrv ryu-manager: stop modifying CONF.app_list bin/ryu-manager| 6 +- ryu/app/cli.py | 147 +

[Ryu-devel] [PATCH 2/3] cli: require telnetsrv

2013-02-25 Thread YAMAMOTO Takashi
add telnetsrv to pip-requires. unfortunately there seems to be no RPM equivalent available. if you want to use cli.py, install telnetsrv by yourself for now. Signed-off-by: YAMAMOTO Takashi --- tools/pip-requires | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/pip-requires b/tools/pip

Re: [Ryu-devel] [PATCH 4/5] cli: add some logging

2013-02-25 Thread YAMAMOTO Takashi
hi, >> +def command_log(*args, **kwargs): >> +def _log(f): >> +# XXX see the implementation of @command for command_name and __doc >> +def wrapper(self, params): >> +self.logger.info("command %s %s" % (wrapper.command_name, >> params)) >> +f(self, param

[Ryu-devel] [PATCH] appease pep8

2013-02-25 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/controller/network.py | 3 ++- ryu/lib/packet/icmpv6.py | 3 ++- ryu/lib/packet/ipv6.py| 2 +- ryu/lib/xflow/sflow.py| 18 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/ryu/controller/network.py b/ryu/contro