Questions tagged [ryu]

Ryu is a component-based software defined networking framework.

Ryu is a component-based software defined networking framework. Ryu provides software components with well defined API that make it easy for developers to create new network management and control applications. Ryu supports various protocols for managing network devices, such as OpenFlow, Netconf, OF-config, etc. About OpenFlow, Ryu supports fully 1.0, 1.2, 1.3, 1.4 and Nicira Extensions. All of the code is freely available under the Apache 2.0 license.

Ryu means "flow" in Japanese. Ryu is pronounced "ree-yooh".

Homepage

163 questions
0
votes
1 answer

How to get the statistics of queues for each switch with ryu controller application in python?

I need to get the queue statistics to calculate the queue length to prevent the queue from increasing the queue. The queue length is to be calculated periodically. That's why it is necessary to write an app. The example of the ofproto_v1_3_parser.py…
0
votes
0 answers

MPLS Implementation in Ryu [SDN]: Pingall 1/2 - How to fix it?

I am working on implemanting mpls in ryu, I have written the app using openflow actions: Push Mpls; Pop.. But I don't know why somehow I am getting only 1/2 of ping when pinging. As I am working in a looped topology, I used networkx in order to get…
0
votes
1 answer

SDN+Ryu Controller + Mininet

I made a topology on Mininet with 2 hosts and diffrent switches, I need to ping from host 1 to host 2 using different paths to compare performances. So far I wrote a python script for Topology discovery. But My issue is how to define a static route…
Le A
  • 1
0
votes
1 answer

Ryu Controller + Mininet

I am having some issues running ryu applications, I don't know if it's related to python libraries or something else? Can someone please tell all the steps to follow for installation of ryu in ubuntu virtualbox including the python libraries?
Le A
  • 1
0
votes
1 answer

Best practices for avoiding unnecessary packet flooding in RYU-SDN controller when IP address of host is unknown?

I'm building a network using the RYU controller and Mininet simulator. When the controller receives a packet_in event, it looks up the IP address in the stored addresses. If it's not found, the packet is flooded through the network. However, this is…
anon
0
votes
0 answers

auto config router with rest api

I have a problem in my project. It is about how to auto config router using rest api in ryu controller or improve a program with router using rest api in ryu controller. I have tried config in a manual way but it is not the target of project. Can…
name no
  • 1
  • 1
0
votes
1 answer

Implement QoS with Ryu controller

I have tried to use OVSBridge in ryu.lib.ovs.bridge to implement QoS but it doesn't work as I expected. Here is a link that includes a method to implement QoS from the controller. Here is my app code: from ryu.base import app_manager from ryu.cfg…
Astrophe
  • 568
  • 1
  • 7
  • 25
0
votes
0 answers

How to connect two ryu controllers directly?

I'm working on a project where I am building a topology with the help of ryu controller and mininet. This is basically a multi controller setup, where there will be main controller at the top level, and there will be multiple sub controllers at the…
0
votes
1 answer

OSError: Path does not exist or is not directory: '/usr/lib/python3/dist-packages/ryu/app/gui_topology/html/'

I was trying to open RYU topology viewer. I created a tree topology using these commands: user@ubuntu:~$ sudo mn --topo tree,3 --controller remote [sudo] password for user: *** Creating network *** Adding controller Unable to contact the remote…
0
votes
1 answer

Ryu controller and manager WebUI app not showing the host and only listing switches

I have run the ryu_manager as: ryu-manager --observe-links ryu.app.gui_topology.gui_topology --wsapi-host 0.0.0.0 --wsapi-port 8080 And mininet i am running as: sudo mn --topo tree,depth=2,fanout=2 --switch ovsk…
Deepak
  • 86
  • 9
0
votes
1 answer

ryu installation error due to invalid syntax in setup.py file

I tried to install ryu in mininet using pip install ryu. However, the following error showed up: in a setup.py there is invalid syntax error (pic shown below) syntax error I have tried with sudo pip install ryu. It worked but root installation of…
Binayak
  • 1
  • 3
0
votes
0 answers

Pcap file cannot be written in time

I am trying to implement a function in an application of Ryu controller. It's like everytime when I receive 7 packets with the same src_ip and dst_ip, they will be written in a pcap file. And then convert this pcap file into a NFstream and do some…
Djarlo
  • 5
  • 2
0
votes
0 answers

NFstream gave a ValueError while reading the stream and converting to csv

ValueError: truncated dump file; tried to read 4 file header bytes, only got 0 Hey ,I'm trying to convert collected packets( in a pcap file) to flows through NFstream everytime when I collected 7 packets. And then I try to convert this stream to a…
Djarlo
  • 5
  • 2
0
votes
0 answers

RYU Snort Integration. RYU snortlib.py event alert returns bytes instead of string from parsing unix domain socket file from SNORT

I have been attempting to integrate RYU with SNORT according to the docs and do this all on mininet. However, after setting it all up i appear to get alert messages returned in bytes instead of the expected string. I have had to amend my version to…
0
votes
1 answer

Why ryu OFPActionSetField did not work as an action but OFPActionOutput worked?

I am trying to write a simple ryu controller that redirect specific traffics of TCP packets and forwards all other traffics. I built a simple topology with mininet, in which there are 3 hosts connected to 1 switch, which is controlled by the ryu…
Guanyuming He
  • 167
  • 10