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

2013-03-14 Thread watanabe.fumitaka
This patch contains the following update for ofctl_v1_0 library. correct the setting error of a wild card. add a net mask to IP address acquired from StatsReply. Signed-off-by: WATANABE Fumitaka --- ryu/lib/ofctl_v1_0.py | 28 +--- 1 file changed, 25 insertions(+), 3

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

2013-03-14 Thread watanabe.fumitaka
This is a openflow v1.2 control library. Signed-off-by: WATANABE Fumitaka --- ryu/lib/ofctl_v1_2.py | 255 + 1 file changed, 255 insertions(+) create mode 100755 ryu/lib/ofctl_v1_2.py diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py n

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

2013-03-14 Thread watanabe.fumitaka
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 mode 100644 ryu/app/rest_firewall.py diff --git a/ryu/app/rest_firewall.py b/ryu/app/

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

2013-03-14 Thread watanabe.fumitaka
This patch implements a Firewall Ryu application. It can control the packets(ALLOW or DENY) by the ACL rules(Access Control List) on OpenFlow. The ACL rules is operated by the REST messages. ryu/app: add firewall Ryu apllication ryu/lib: update openflow v1.0 control library and add

Re: [Ryu-devel] [PATCH 02/17] cli: a simple management api

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

Re: [Ryu-devel] [PATCH] group quantum related options

2013-03-14 Thread YAMAMOTO Takashi
> On Wed, Mar 13, 2013 at 01:51:48PM +0900, YAMAMOTO Takashi wrote: >> caveats: no config file backward compat >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> ryu/app/quantum_adapter.py | 24 >> ryu/flags.py | 22 +- >> 2 files changed,

Re: [Ryu-devel] [PATCH] group quantum related options

2013-03-14 Thread YAMAMOTO Takashi
> Hi. Can we keep compatibility by decplicated_name argument > to Opt.__init__()? i don't think so. my understanding is the argument is just for simple renaming. but i haven't investigated seriously. YAMAMOTO Takashi > > On Wed, Mar 13, 2013 at 02:16:48PM +0900, YAMAMOTO Takashi wrote: >> > ca

Re: [Ryu-devel] [PATCH] group quantum related options

2013-03-14 Thread Isaku Yamahata
On Wed, Mar 13, 2013 at 01:51:48PM +0900, YAMAMOTO Takashi wrote: > caveats: no config file backward compat > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/app/quantum_adapter.py | 24 > ryu/flags.py | 22 +- > 2 files changed, 25 insert

Re: [Ryu-devel] [PATCH] group quantum related options

2013-03-14 Thread Isaku Yamahata
Hi. Can we keep compatibility by decplicated_name argument to Opt.__init__()? On Wed, Mar 13, 2013 at 02:16:48PM +0900, YAMAMOTO Takashi wrote: > > caveats: no config file backward compat > > this means that devstack needs some changes like the following. > > YAMAMOTO Takashi > > diff --git a/l

[Ryu-devel] Private VLAN flows

2013-03-14 Thread Bright Dadson
Hi Guys, I am currently trying to add a flow to simulate vlan on pre-determine ports on the switch. My question is, Is it possible to use Ryu to add flows without using a match on ingress port, i.e adding a flow with vlan tags without using IN_PORT as a match - but the port number directly?! Than

[Ryu-devel] [PATCH 3/3] topology: support link discovery

2013-03-14 Thread YAMADA Hideki
event.py: add link events. switches.py: add link discovery (only of1.0). dumper.py: add handler for link events. TODO: support other OpenFlow version. Signed-off-by: YAMADA Hideki --- bin/ryu-manager |1 + ryu/topology/dumper.py | 79 +- ryu/topology/event.py| 42

[Ryu-devel] [PATCH 2/3] topology: switch discovering module

2013-03-14 Thread YAMADA Hideki
This is an alternative of dpset, which supports event passing. event.py: event class switches.py: switch(datapath) discovery app using ofp_event dumper.py: test and example app using switch discovery event Signed-off-by: YAMADA Hideki --- ryu/topology/dumper.py | 104 ++

[Ryu-devel] [PATCH 1/3] event: Add sync flag and event src for request/reply

2013-03-14 Thread YAMADA Hideki
- To distinguish synchronous request or not. - Event src is needed for asynchronous request too. Signed-off-by: YAMADA Hideki --- ryu/base/app_manager.py |7 ++- ryu/controller/event.py |6 -- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ryu/base/app_manager.py

[Ryu-devel] [PATCH 0/3] Topology Discovery

2013-03-14 Thread YAMADA Hideki
This is discovery module for switches and links between switches. For example: 1. Run mininet $ sudo mn --topo=tree,depth=2 --controller=remote 2. Run ryu-manager with topology module and event dumper $ ./bin/ryu-manager --verbose --observe-links ryu/topology/switches.py ryu/topology/dumper.py