[Ryu-devel] Multiple controller implementation recommendations.

2017-04-23 Thread 陳家錡
Hello everyone, I use socket to implement the communication with controllers and it work perfect now. But the disadvantage is : It only can detect the fail from controller instead of the link between the switch and the controller. Therefore, I would like to ask: What is the common way to implement

Re: [Ryu-devel] Controlling OVS from Ryu controller

2017-04-23 Thread Fujimoto Satoshi
Hi, Deni The problem may be caused by that you use "ovsdb_event" and "ovs_vsctl" at the same time. If you don't need to monitor the status of OVS, you should not use "ovsdb_event". Also, you can use "OVSBridge" to control your OVS. "OVSBridge" calls "ovs_vsctl.VSCtl()" in __init__(), and wrap

Re: [Ryu-devel] The issue with CLOSE_WAIT is not resolved

2017-04-23 Thread Iwase Yusuke
Hi Tarun, I guess you need to find out why your switch do reconnect to Ryu in your situation, first. Please confirm your switches' settings and logs. (e.g., Do your switch check the connection to Ryu with OFPT_ECHO message?) Thanks, Iwase On 2017年04月20日 13:10, Fujimoto Satoshi wrote: > Hi, Taru

Re: [Ryu-devel] OpenFlow 1.5 & OVS

2017-04-23 Thread Fujimoto Satoshi
Hi, Tao > Since OVS supports limited features of OF1.5, how would the Ryu developers test the functionalities implemented for the OF1.5? For OpenFlow 1.5, we make binary files based on OpenFlow Specification, and use them to test. In testing, we make Ryu to parse and serialize the binary da

Re: [Ryu-devel] Regarding OpenFlow 1.3 RYU Cbench Tool

2017-04-23 Thread Iwase Yusuke
Hi, Please cc the Ryu-devel mailing list and keep it. On 2017年04月23日 18:58, raghu rathode wrote: > Dear Iwase, > > I want to test my ryu application communication overhead in terms of control > traffic to/from the controller to install rules in the switches i.e HP 5900 > OpenFlow1.3. I search

Re: [Ryu-devel] ryu-manager with --observe-links causes "KeyError" in app/rest_qos.py

2017-04-23 Thread Fujimoto Satoshi
Hi, Markku Thanks, I succeeded to reproduce your problem. The cause is that rest_pos.py does not support LLDP(ether_type: 88cc). The quick fix is making rest_qos.py to support LLDP, so: diff --git a/ryu/app/rest_qos.py b/ryu/app/rest_qos.py index 9fe72ed..6e750e6 100644 --- a/ryu/app/rest_qos.p

Re: [Ryu-devel] The base of dpid in ofctl_rest api?

2017-04-23 Thread Fujimoto Satoshi
Hi, Markku ofctl_rest.py receives "dpid" as integer, so you have to use "GET /stats/desc/10". However, ofctl_rest.py is an example application, so you can modify ofctl_rest.py as you want. I suppose you may modify: https://github.com/osrg/ryu/blob/master/ryu/app/ofctl_rest.py#L199 The second

Re: [Ryu-devel] Using multiprocessing to modify flows

2017-04-23 Thread Yi Tseng
Also, I am not sure if you processes did send OpenFlow message correctly. Can you verify OpenFlow messages sent by controller by using tcpdump or Wireshark? -- Yi 2017-04-23 17:04 GMT-07:00 Yi Tseng : > Hi, > > *Please don't drop mailing list.* > > Is there any warning/error log? (run Ryu with

Re: [Ryu-devel] Using multiprocessing to modify flows

2017-04-23 Thread Yi Tseng
Hi, *Please don't drop mailing list.* Is there any warning/error log? (run Ryu with --verbose) How did you share OpenFlow sessions between processes? -Yi 2017-04-23 16:53 GMT-07:00 Yiwen Shen : > Hi, > > I have a function that takes arguments like datapath, inport, outport, IP > address, prio

[Ryu-devel] Controlling OVS from Ryu controller

2017-04-23 Thread Deni Toruan
Dear all, Currently, I am trying to make a connection between Ryu Controller and OVS, and trying to modify OVS from controller (add bridge, add port, delete port, etc) dynamically. Currently, the OVS and Ryu controller can be connected. They are running in different VM. However, when I try to run

Re: [Ryu-devel] Using multiprocessing to modify flows

2017-04-23 Thread Yi Tseng
Hi, How do you create multiple process? You create multiple Ryu process? If you create multiple Ryu process, you need to connect switch to all process. Or you need to share the connection between processes and switches -Yi 2017-04-22 12:19 GMT-07:00 Yiwen Shen : > Hi, > > In order to add flo