Re: [Ryu-devel] Running a ryu app like a python file

2017-01-10 Thread Iwase Yusuke
Hi, How about the following? $ git diff diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py index 3e7c598..34881e1 100644 --- a/ryu/app/simple_switch_13.py +++ b/ryu/app/simple_switch_13.py @@ -117,3 +117,8 @@ class SimpleSwitch13(app_manager.RyuApp): out = parser.OFPP

[Ryu-devel] Running a ryu app like a python file

2017-01-10 Thread Juan Francisco Guano
Hey everybody I wanna know if it is possible Running a ryu app like a python file, how I coding this. For example normally run a ryu app like below: ryu-manager ryu-app.py I wanna run the same app like below: python ryu-app.py What lines I must add to python file to do this? Any suggestiosn? R

Re: [Ryu-devel] Regarding Missing links between switches----switches.

2017-01-10 Thread Iwase Yusuke
Hi, On 2017年01月10日 05:41, raghu rathode wrote: > Hi, > > I am currently working on OpenFlow HP 5900. I have topology of 6 switches and > 6 hosts. Therefore, I build topology using GEANT Testbed Services. When using > RYU as OpenFlow Controller i am facing issue with the links in between > swit

Re: [Ryu-devel] How to modify "switch_enter" event on the OVS and read it correctly using RYU

2017-01-10 Thread Iwase Yusuke
Hi, On 2017年01月08日 03:25, Garegin Grigoryan wrote: > Good afternoon and Happy New Year! > > I'm using RYU controller. When the OVS switch connects to the controller, the > controller gets a "switch enter" event message. > > I'm handling it with this function > > |@set_ev_cls(dpset.EventDP, dp

Re: [Ryu-devel] dhcp server with ryu controller

2017-01-10 Thread Luis Zárate
Something like this dhcp rest responder. The api is: Set dhcp in a switch PUT /dhcp/add/{dpid} params 'ipaddress': '192.168.1.1' 'netmask': '255.255.255.0' 'address': '0a:e4:1c:d1:3e:44' 'dns': '8.8.8.8' 'startip':'192.168.1.100' 'endip': '192.168.1.200' Set static ip in