Re: [Ryu-devel] New to openstack

2016-08-23 Thread IWAMOTO Toshihiro
At Tue, 23 Aug 2016 14:32:53 +0200, Ahmed Omar Shahidullah wrote: > > [1 ] > [1.1 ] > Hi, > > I am trying to use Ryu controller with openstack mitaka. I found some wiki > pages which help with installing Ryu with devstack but with older releases > like icehouse or havana. > > I have created a

Re: [Ryu-devel] Ryu application

2016-08-23 Thread Iwase Yusuke
Hi, Mininet uses Open vSwitch(OVS) as the default software switch to emulate the OpenFlow network. So OVS (NOT Mininet) generates the messages to send the controller. If your OVS already has the implementation for sending your own messages, you need to implement parser class in Ryu. If not yet, yo

Re: [Ryu-devel] Ryu application

2016-08-23 Thread Iwase Yusuke
Hi, simple_switch or (simple_switch_13) does not depend on stplib. https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py Please investigate why "your" simple_switch requires stplib, first. simple_switch_stp or (simple_switch_stp_13 on Ryu-Book) depends on stplib, do you mean this? h

Re: [Ryu-devel] Not able to install the RYU controller

2016-08-23 Thread Iwase Yusuke
Hi, Could you check the following? http://osrg.github.io/ryu-book/en/html/switching_hub.html#execution-of-ryu-application Installation procedure $ sudo apt-get install git python-dev python-setuptools python-pip $ git clone https://github.com/osrg/ryu.git $ cd ryu $ sudo pip inst

[Ryu-devel] [RYU-DEVEL] - Getting flow entries length

2016-08-23 Thread Túlio Pascoal
Hello folks, I would like to get the flow entries length, because I am needing this information. I tried using ovs-ofctl from mininet but it did not work. So I saw that I could use the ryu REST api for it, by using curl -X GET http://localhost:8080/stats/flow/1 where I was supposed to get the le

Re: [Ryu-devel] Ryu application

2016-08-23 Thread Francesco Murador
I hope you can answer me more fast so i can begin to do the remaining things for my thesis Inviato da iPhone > Il giorno 17/ago/2016, alle ore 03:02, Iwase Yusuke > ha scritto: > > Hi, > > Sorry for the delay. > >> On 2016年08月10日 17:59, Francesco Murador wrote: >> So i don't need to do anyt

Re: [Ryu-devel] Not able to install the RYU controller

2016-08-23 Thread Ajay Chopra
Please provide the inputs .Its urgent . From: Ajay Chopra Sent: 23 August 2016 15:31 To: 'ryu-devel@lists.sourceforge.net' Subject: Not able to install the RYU controller Hello , I have tried to install the RYU controller . I am using the below commands "sudo python setup.py install " its error

[Ryu-devel] [PATCH] Validate OpenFlow message length in header, to prevent controller receive loop DoS

2016-08-23 Thread Victor Orlikowski
Sigh. Re-submitting, with correct subject. When the controller receive loop currently accepts an OpenFlow message, it does not validate the message length. As a result, a malicious or malfunctioning switch could cause send a message that would result in the receive loop making no forward progres

[Ryu-devel] [PATCH] Handle SSL socket timeouts in controller gracefully

2016-08-23 Thread Victor Orlikowski
When the controller receive loop currently accepts an OpenFlow message, it does not validate the message length. As a result, a malicious or malfunctioning switch could cause send a message that would result in the receive loop making no forward progress. This patch ensures that the message leng

Re: [Ryu-devel] [Bug Report] Ryu hangs on "zero" length OpenFlow messages

2016-08-23 Thread Victor Orlikowski
On Aug 23, 2016, at 11:16 AM, Samuel Jero wrote: > I have now been able to test your patch against Ryu 4.5 with our > automated testing system. It does eliminate the infinite loop and > associated controller load, allowing the controller to continue to > operate and process messages from other swi

Re: [Ryu-devel] [Bug Report] Ryu hangs on "zero" length OpenFlow messages

2016-08-23 Thread Samuel Jero
On 08/13/2016 03:03 PM, Victor Orlikowski wrote: > On Aug 13, 2016, at 11:24 AM, Samuel Jero wrote: >> 1) When an OpenFlow message with a header whose length field is zero is >> received, Ryu hangs and becomes unresponsive. The problem appears to be an >> infinite loop in _recv_loop() in control

[Ryu-devel] Traffic Monitor Statistics (Tx-Error, Rx-Error, Tx-Dropped, Rx-Dropped)

2016-08-23 Thread Bruno Bandeira
Hi there, I'm trying to figure out if it is possible to generate tx-error/rx-error/tx-dropped/rx-dropped on mininet using Ryu in its controller. If it is, I would really appreciate how to do that. I'm using the Monitor Traffic source code which is written on chapter 2 of Ryu Book. Thanks! Bruno

Re: [Ryu-devel] [Bug Report] Ryu hangs on "zero" length OpenFlow messages

2016-08-23 Thread Victor Orlikowski
On Aug 16, 2016, at 1:27 PM, Samuel Jero wrote: > > Sorry for the delay. Unfortunately, I won't be able to test your patch until > early next week. I'm busy finishing up an internship and moving back half way > across the country. Samuel, I hope that your move proceeded smoothly, and that you

[Ryu-devel] New to openstack

2016-08-23 Thread Ahmed Omar Shahidullah
Hi, I am trying to use Ryu controller with openstack mitaka. I found some wiki pages which help with installing Ryu with devstack but with older releases like icehouse or havana. I have created a multi-node scenario inside virtualbox where I have a controller node connected to a compute node. Wha

[Ryu-devel] Not able to install the RYU controller

2016-08-23 Thread Ajay Chopra
Hello , I have tried to install the RYU controller . I am using the below commands "sudo python setup.py install " its error out with below message That ryu.hooks not available and when I run the command "python setup.py install" it gives the error that setuptools not available . Please give th