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

2013-03-18 Thread Isaku Yamahata
On Fri, Mar 15, 2013 at 11:03:14AM +0900, watanabe.fumitaka wrote: > This application operates a switch as a firewall. > > > Signed-off-by: WATANABE Fumitaka > --- > ryu/app/rest_firewall.py | 648 > ++ > 1 file changed, 648 insertions(+) > create

Re: [Ryu-devel] [PATCH 11/17] cli: let child process die explicitly with os._exit(0)

2013-03-18 Thread YAMAMOTO Takashi
> On Wed, Mar 13, 2013 at 01:29:16PM +0900, YAMAMOTO Takashi wrote: >> instead of returning to somewhere. >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> ryu/app/cli.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/ryu/app/cli.py b/ryu/app/cli.py >> index f95be1c..

Re: [Ryu-devel] [PATCH 08/17] cli: sample config

2013-03-18 Thread YAMAMOTO Takashi
> On Wed, Mar 13, 2013 at 01:29:13PM +0900, YAMAMOTO Takashi wrote: >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> etc/ryu/ryu.conf | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/etc/ryu/ryu.conf b/etc/ryu/ryu.conf >> index 341de67..702492e 100644 >> --- a/etc/ryu/ryu.conf >>

Re: [Ryu-devel] [PATCH 14/17] add a utility module (instance_registry)

2013-03-18 Thread Isaku Yamahata
http://docs.python.org/faq/programming.html#how-do-i-get-a-list-of-all-instances-of-a-given-class 6b2e6521a33d693200360d70d2a03e48eceb4dfe On Wed, Mar 13, 2013 at 01:29:19PM +0900, YAMAMOTO Takashi wrote: > will be used by management code > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/insta

Re: [Ryu-devel] [PATCH 11/17] cli: let child process die explicitly with os._exit(0)

2013-03-18 Thread Isaku Yamahata
On Wed, Mar 13, 2013 at 01:29:16PM +0900, YAMAMOTO Takashi wrote: > instead of returning to somewhere. > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/app/cli.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ryu/app/cli.py b/ryu/app/cli.py > index f95be1c..75284f9 100

Re: [Ryu-devel] [PATCH 08/17] cli: sample config

2013-03-18 Thread Isaku Yamahata
On Wed, Mar 13, 2013 at 01:29:13PM +0900, YAMAMOTO Takashi wrote: > > Signed-off-by: YAMAMOTO Takashi > --- > etc/ryu/ryu.conf | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/etc/ryu/ryu.conf b/etc/ryu/ryu.conf > index 341de67..702492e 100644 > --- a/etc/ryu/ryu.conf > +++ b/etc/r

Re: [Ryu-devel] [PATCH 05/17] cli: add a utility module (call_via_pipe)

2013-03-18 Thread Isaku Yamahata
On Wed, Mar 13, 2013 at 01:29:10PM +0900, YAMAMOTO Takashi wrote: > this will be used by cli app. > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/call_via_pipe.py | 100 > +++ > 1 file changed, 100 insertions(+) > create mode 100644 ryu/call_via_

Re: [Ryu-devel] [PATCH 1/3] TLS: update an example output

2013-03-18 Thread FUJITA Tomonori
On Mon, 18 Mar 2013 14:05:47 +0900 YAMAMOTO Takashi wrote: > > Signed-off-by: YAMAMOTO Takashi > --- > doc/source/tls.rst | 14 -- > 1 file changed, 8 insertions(+), 6 deletions(-) Applied three, thanks.

Re: [Ryu-devel] Ryu OpenFlow Tutorial page

2013-03-18 Thread FUJITA Tomonori
On Mon, 18 Mar 2013 17:59:34 +0900 Isaku Yamahata wrote: > Hi all. I created OpenFlow Tutorial page at > https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial > > And added the Ryu section to OpenFlow Tutorial > http://www.openflow.org/wk/index.php?title=OpenFlow_Tutorial > > Now it's much easier

Re: [Ryu-devel] Devstack VM image for Ryu and OpenStack Grizzly

2013-03-18 Thread FUJITA Tomonori
On Mon, 18 Mar 2013 17:11:43 +0900 Yoshihiro Kaneko wrote: > I made Devstack VM image for Ryu and OpenStack Grizzly to be able to > easily try Ryu with OpenStack in anyone. > Instructions for the pre-configured VM image: > > https://github.com/osrg/ryu/wiki/RYU-OpenStack-Grizzly-environment-VM

Re: [Ryu-devel] [PATCH] use ElementTree iterator instead of getchildren

2013-03-18 Thread FUJITA Tomonori
On Fri, 8 Mar 2013 18:45:12 +0900 YAMAMOTO Takashi wrote: > getchildren is documented to be obsolete. > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/lib/of_config/capable_switch.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied.

[Ryu-devel] Ryu OpenFlow Tutorial page

2013-03-18 Thread Isaku Yamahata
Hi all. I created OpenFlow Tutorial page at https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial And added the Ryu section to OpenFlow Tutorial http://www.openflow.org/wk/index.php?title=OpenFlow_Tutorial Now it's much easier to start Ryu programming, I hope. Thanks, -- yamahata -

[Ryu-devel] [PATCH 5/5] hub: add some unit tests

2013-03-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- ryu/tests/unit/lib/test_hub.py | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 ryu/tests/unit/lib/test_hub.py diff --git a/ryu/tests/unit/lib/test_hub.py b/ryu/tests/unit/lib/test_hub.py new file mode 1006

[Ryu-devel] [PATCH 2/5] hub: stop trying import gevent

2013-03-18 Thread YAMAMOTO Takashi
instead, allow to specify the type of hub by RYU_HUB_TYPE environment variable. make the default eventlet. Signed-off-by: YAMAMOTO Takashi --- ryu/lib/hub.py | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py index

[Ryu-devel] [PATCH 0/5] switch to eventlet

2013-03-18 Thread YAMAMOTO Takashi
switch from gevent to eventlet. at this point, gevent can still be used with RYU_HUB_TYPE=gevent environment variable. YAMAMOTO Takashi (5): add a threading hub module hub: stop trying import gevent stop using gevent directly change requirements: gevent -> eventlet hub: add some unit te

[Ryu-devel] [PATCH 3/5] stop using gevent directly

2013-03-18 Thread YAMAMOTO Takashi
uses to ryu.lib.hub instead. Signed-off-by: YAMAMOTO Takashi --- bin/ryu-manager| 11 +-- ryu/app/quantum_adapter.py | 4 ryu/app/simple_vlan.py | 4 ++-- ryu/app/tunnel_port_updater.py | 10 +- ryu/app/wsgi.py

[Ryu-devel] [PATCH 1/5] add a threading hub module

2013-03-18 Thread YAMAMOTO Takashi
it currently uses gevent or eventlet internally. Signed-off-by: YAMAMOTO Takashi --- ryu/lib/hub.py | 105 + 1 file changed, 105 insertions(+) create mode 100644 ryu/lib/hub.py diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py new file mode 10

[Ryu-devel] [PATCH 4/5] change requirements: gevent -> eventlet

2013-03-18 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- setup.cfg | 2 +- tools/pip-requires | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 44f55c7..41d1179 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ source-dir = doc/source [bdist_rpm] Relea

[Ryu-devel] Devstack VM image for Ryu and OpenStack Grizzly

2013-03-18 Thread Yoshihiro Kaneko
Hi, I made Devstack VM image for Ryu and OpenStack Grizzly to be able to easily try Ryu with OpenStack in anyone. Instructions for the pre-configured VM image: https://github.com/osrg/ryu/wiki/RYU-OpenStack-Grizzly-environment-VM-image-file-HOWTO URL for downloading VM image and related files i

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

2013-03-18 Thread can.
Hello Isaku, A capture file is attached to the mail. The IP 10.0.2.15 is a virtual machine running mininet, and IP 10.109.242.118 is the host running ryu. I suspect that it's the first packetIn packets cause ryu to crash as you can see the FIN packets are only a few milliseconds after those packet