Re: [Ryu-devel] Processing pipeline: use multiple group entries on a single packet?

2015-02-16 Thread Yusuke Iwase
Hi Clément, In your example, I guess a packet will be droped at Gr 0. > Table 0: > Gr 0, Goto Table 1 > > Gr 0: > Set vlan to 1 <--- droped here Because no output action and no group action is specified in this action set. Then, non-VLAN-tagged packet will is ouput at Gr 1. > Table 1: > G

Re: [Ryu-devel] Adding flows using ryu app

2015-02-16 Thread Minoru TAKAHASHI
Hi, > Can anyone please tell me how ryu normally push flows to the switches This Ryu app may be helpful. https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py#L50-L63 Details are described in Ryu-BOOK. http://osrg.github.io/ryu-book/en/html/switching_hub.html#id2 > or which ryu m

Re: [Ryu-devel] IPv6 OpenFlows using RYU on Mininet

2015-02-16 Thread Yusuke Iwase
Hi Kuljaree, Please keep Ryu-devel mailing list. Ryu-devel > But I don't understand rest_router.py exactly. > I doubt about the way to add IP address that they uses curl command to add. > If I use Linux command to add IP address. Is it different? Please suggest me. I think it's different comm

Re: [Ryu-devel] Cannot access RYU via a browser

2015-02-16 Thread Wei-Li Tang
Hi, Are you going to use Topology Viewer? You need to run GUI application in order to let Ryu listen on tcp/8080. See: http://ryu.readthedocs.org/en/latest/gui.html 2015-02-17 10:11 GMT+08:00 Scott Reeve : > > > I seem to have started the RYU controller just fine: > > sreeve@new-host:~/ryu$ sud

[Ryu-devel] Cannot access RYU via a browser

2015-02-16 Thread Scott Reeve
I seem to have started the RYU controller just fine: sreeve@new-host:~/ryu$ sudo ./bin/ryu-manager --verbose ryu/app/simple_switch_13.py [sudo] password for sreeve: loading app ryu/app/simple_switch_13.py loading app ryu.controller.ofp_handler instantiating app ryu/app/simple_switch_13.py of

Re: [Ryu-devel] Enabling BFD from the Controller

2015-02-16 Thread Wei-Li Tang
Hi, 2015-02-17 0:13 GMT+08:00 Padma Jayasankar : > Hi, > I am using the following snippet(based on the code snippet u sent) > > OVSDB_REMOTE_ADDR = "tcp:192.168.56.102:6634" > Hmm... Was tcp/6634 occupied by other daemon? Make sure your ovsdb-server is listening on tcp/6634 (or other port you

Re: [Ryu-devel] Passing config file to Ryu app

2015-02-16 Thread Yusuke Iwase
Hi, How about this? (I use oslo.config lib) $ git diff diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py index b9cbad0..cd89c7f 100644 --- a/ryu/app/simple_switch_13.py +++ b/ryu/app/simple_switch_13.py @@ -21,6 +21,10 @@ from ryu.ofproto import ofproto_v1_3 from ryu.lib.pa

Re: [Ryu-devel] Passing config file to Ryu app

2015-02-16 Thread A Sydney
Any feedback? Thanks, Ali On Fri, Feb 13, 2015 at 10:34 AM, A Sydney wrote: > Thanks for the quick reply :) > > Perhaps I should expound a bit... > > Below is an example of such a config file I'd like to pass to my ryu > application: for each dpid, I'd like to track the associated VLANs > alloc

[Ryu-devel] Slow performance with hundreds of rules

2015-02-16 Thread saman biook aghazadeh
We have an OVS enabled switch, which is directly connected to multiple nodes. These nodes are running a distributed application, with cause many communication between them. I am using RYU controller, and I have changed how packets get matched against rules. Here you can see what properties I'm cons

[Ryu-devel] Processing pipeline: use multiple group entries on a single packet?

2015-02-16 Thread Clément Rault
Hi, I was wondering if it's possible to use multiple group entries during the processing of one single packet. I would like to apply the actions of different group entries on one single packet. For ex I would like to have the following processing: Table 0: Gr 0, Goto Table 1 Gr 0: Set vlan to

Re: [Ryu-devel] Enabling BFD from the Controller

2015-02-16 Thread Padma Jayasankar
Hi, I am using the following snippet(based on the code snippet u sent) OVSDB_REMOTE_ADDR = "tcp:192.168.56.102:6634" # Initialize a VSCtl instance. vsctl = ovs_vsctl.VSCtl(OVSDB_REMOTE_ADDR) # Define a command instance which is equivalent to # `ovs-vsctl set interface gre0 bfd:e

[Ryu-devel] Adding flows using ryu app

2015-02-16 Thread MD.Badruzzaman Shakib
Hello everyone, I am developing an ryu application to calculate the best path during link failure and push those best path to the switches. By using the dumper file I managed to dump the events and using networkX I calculated the best path in my application. But I could not figure out how to pus

Re: [Ryu-devel] Enabling BFD from the Controller

2015-02-16 Thread Wei-Li Tang
2015-02-16 21:01 GMT+08:00 Padma Jayasankar : > Hi, > Thanks for the detailed information. I tried with this code. But i am > getting some 'protocol error'. i am getting the following error message > > File "/home/padma/ryu/ryu/app/simple_switch.py", line 87, in > _packet_in_handler > vsctl.

Re: [Ryu-devel] [PATCH RFC] ofproto: Openflow 1.5 support (work-in-progress)

2015-02-16 Thread FUJITA Tomonori
On Sun, 15 Feb 2015 21:55:28 -0800 Shu Shen wrote: > On Sat, Feb 14, 2015 at 4:35 PM, FUJITA Tomonori < > [email protected]> wrote: > >> > TODO: >> > - Add oxs_fields support. It shall be similar to oxm_fields >> > - Update and implement ofproto_v1_5_parser.py >> >> Any item that you

Re: [Ryu-devel] Enabling BFD from the Controller

2015-02-16 Thread Padma Jayasankar
Hi, Thanks for the detailed information. I tried with this code. But i am getting some 'protocol error'. i am getting the following error message File "/home/padma/ryu/ryu/app/simple_switch.py", line 87, in _packet_in_handler vsctl.run_command([cmd]) File "/usr/local/lib/python2.7/dist-pac