[Ryu-devel] Proposal: Advanced WSGI API

2013-09-03 Thread Satoshi Kobayashi
Hi, Currently, HTTP Routing and implementations are separated on a WSGI application. However, I like that they are in the same place. For example, they are Flask of Python, and Bottle and JAX-RS of Java. Then, I would like to propose the following API which based on decorator. --8<--

[Ryu-devel] [PATCH] doc: update icmpv6

2013-09-03 Thread Ygor Amaral
Signed-off-by: Ygor Amaral --- ryu/lib/packet/icmpv6.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/icmpv6.py b/ryu/lib/packet/icmpv6.py index 9d250f3..f9049f6 100644 --- a/ryu/lib/packet/icmpv6.py +++ b/ryu/lib/packet/icmpv6.py @@ -404,7 +404,9 @@ cla

Re: [Ryu-devel] [PATCH] use run_tests.sh -N for Travis CI

2013-09-03 Thread YAMAMOTO Takashi
> On Tue, 3 Sep 2013 16:53:35 +0900 > YAMAMOTO Takashi wrote: > >> this avoids interfering Travis CI's use of virtualenv. >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> .travis.yml | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/.travis.yml b/.travis.yml >> i

Re: [Ryu-devel] openstack isolation

2013-09-03 Thread FUJITA Tomonori
On Thu, 29 Aug 2013 15:30:32 +0400 Vasiliy Tolstov wrote: > Hello. I'm try to build simple toy controller in golang for openflow > vSwitch and have question - how ryu provide user isolation in case of > identical internal network on two or more tenants? > > For example > tenant1: 192.168.1.0/24

[Ryu-devel] Ryu 3.0 released

2013-09-03 Thread FUJITA Tomonori
Hi, Here's a new release. The major version number was updated to 3 since this release includes some internal API change. IOW, some of the existing applications might not work any more with this release. The change is that we use the text format for IP address, mac address, port name, etc, which c

Re: [Ryu-devel] [PATCH] restore bin/ryu-manager

2013-09-03 Thread FUJITA Tomonori
On Tue, 3 Sep 2013 15:46:20 +0900 FUJITA Tomonori wrote: > Some environments assumes bin/ryu-manager (executes it locally). So > let's restore it. > > Signed-off-by: FUJITA Tomonori > --- > bin/ryu-manager | 4 > 1 file changed, 4 insertions(+) > create mode 100755 bin/ryu-manager Appli

Re: [Ryu-devel] [PATCH 0/2] rest_firewall: blocked packet logging

2013-09-03 Thread FUJITA Tomonori
On Tue, 03 Sep 2013 17:06:29 +0900 "watanabe.fumitaka" wrote: > Add blocked packet logging function and related REST API. > and, logger format has been improved in relation to this. > > --- > ryu/app/rest_firewall.py | 176 > +- > ryu/lib/ofctl_v1_0

Re: [Ryu-devel] [PATCH] Fix Datapath#send_packet_out() default in_port problem

2013-09-03 Thread Satoshi Kobayashi
Oops, I am sorry. It is mistake of my environment. I have worked unit tests in the virtual environment which installed Ryu. Hmm… It will not become ImportError if importing app_manager is moved before importing Datapath. But I can not understand well why it becomes so… 2013/9/3 FUJITA Tomonori

[Ryu-devel] [PATCH 1/2] ofctl v1.0/v1.2: add miss_send_len for packet in

2013-09-03 Thread watanabe.fumitaka
Signed-off-by: WATANABE Fumitaka --- ryu/lib/ofctl_v1_0.py |7 ++- ryu/lib/ofctl_v1_2.py |5 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ryu/lib/ofctl_v1_0.py b/ryu/lib/ofctl_v1_0.py index e68d53e..0fd958c 100644 --- a/ryu/lib/ofctl_v1_0.py +++ b/ryu/lib/ofct

[Ryu-devel] [PATCH 2/2] rest_firewall: blocked packet logging

2013-09-03 Thread watanabe.fumitaka
Signed-off-by: WATANABE Fumitaka --- ryu/app/rest_firewall.py | 176 +- 1 file changed, 158 insertions(+), 18 deletions(-) diff --git a/ryu/app/rest_firewall.py b/ryu/app/rest_firewall.py index c547cb0..b8919e9 100644 --- a/ryu/app/rest_firewall.py ++

[Ryu-devel] [PATCH 0/2] rest_firewall: blocked packet logging

2013-09-03 Thread watanabe.fumitaka
Add blocked packet logging function and related REST API. and, logger format has been improved in relation to this. --- ryu/app/rest_firewall.py | 176 +- ryu/lib/ofctl_v1_0.py|7 +- ryu/lib/ofctl_v1_2.py|5 +- 3 files changed, 168 inse

Re: [Ryu-devel] [PATCH] use run_tests.sh -N for Travis CI

2013-09-03 Thread FUJITA Tomonori
On Tue, 3 Sep 2013 16:53:35 +0900 YAMAMOTO Takashi wrote: > this avoids interfering Travis CI's use of virtualenv. > > Signed-off-by: YAMAMOTO Takashi > --- > .travis.yml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/.travis.yml b/.travis.yml > index d7c6953..7

[Ryu-devel] [PATCH] use run_tests.sh -N for Travis CI

2013-09-03 Thread YAMAMOTO Takashi
this avoids interfering Travis CI's use of virtualenv. Signed-off-by: YAMAMOTO Takashi --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d7c6953..7d2f191 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ python: -