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
1
vote
1 answer

RYU Controller Block traffic

I am creating a simple network with mininet. and i want block traffic from one host to another with controller.I Want know which of RYU API useful for me.parser."OFPMatch" or another RYU API
jamshidian
  • 11
  • 3
1
vote
0 answers

Group table issue - Openflow, Mininet

I have a fat tree topology, and I am using Mininet, OpenFlow 1.3, Ryu Controller to mimic ECMP based routing. I am using Group and Flow tables to do this. For example, s2 and s3 are connected to ports 1 and 2 of an aggregate switch, say as1, in…
Abhishek Balaji R
  • 665
  • 10
  • 25
1
vote
1 answer

How to implement mirroring with Ryu controller

I'm trying to implement mirroring with ryu controller. I have one mininet with 2 host (h1 and h2) and 2 switches (s1 and s2), the Ip of the mininet is 192.168.33.10. I was wondering if it is possible to reply and forward all the traffic going…
Daniele P.
  • 11
  • 2
1
vote
1 answer

Connection of RYU controller and Flowvisor

I am using RYU and POX controller with Flowvisor over Mininet. When I connect POX controller to flowvisor (the ports of my slices are 10000 and 20000), I use this line: cd /home/ubuntu/pox && ./pox.py openflow.of_01 --port=10000…
1
vote
2 answers

How can I switch on decreasing ttl on OpenFlow switches?

I use Mininet with a custom topology and the RYU-REST controller "ofctl-rest.py". After installing some flowentries in the switches, sending some packets over the network and capturing traffic I recognize that the switches do not decrease the ttl -…
André
  • 53
  • 2
  • 6
1
vote
1 answer

Ryu controller - [Errno 32] Broken pipe

I'm using Ryu controller to controll virtualized switches in a topology made from mininet network emulator. I suddenly started to get more of "[Errno 32] Broken pipe" errors, when i haven't made any changes to controller. Could you please tell me…
Jacu629
  • 53
  • 8
1
vote
2 answers

pkg_resources.DistributionNotFound for Ryu-oe

My goal is to have a optical LINC switch running and use Ryu-oe to control it. I receive the following error when I try to run Ryu-Oe instruction from this link. Ryu-oe is just ryu controller with some optical extensions. File…
Ehsan Ab
  • 679
  • 5
  • 16
1
vote
3 answers

Ryu: convert datapath to switch IP address

Currently, I'm writing an application on top of Ryu, the Open-source OpenFlow Controller. To create an OF-Config connection (or OVSDB connection), I think I have to get the IP address of each switch connected to the Ryu controller. However, I cannot…
Byungjoon Lee
  • 913
  • 6
  • 18
1
vote
3 answers

Why Packets are not forwarded from ovs switch(version 2.3.1) after an MPLS header is pushed?

I am creating the ryu app to push and pop mpls labels. Here is the flow entries at ovs (version 2.3.1) switch s1: root@ubuntu:~# sudo ovs-ofctl -O OpenFlow14 dump-flows s1 OFPST_FLOW reply (OF1.4) (xid=0x2): cookie=0x0, duration=190.991s, table=0,…
Vishlesh Patel
  • 168
  • 1
  • 1
  • 12
1
vote
0 answers

API to pre-program the flow entries into switches

I am using the below function inside my simple_switch.py to populate the flows to the switches. def populate_of_flow(self,datapath,msg,src,dst): ofproto = datapath.ofproto dpid = datapath.id self.mac_to_port.setdefault(dpid, {}) #…
liv2hak
  • 14,472
  • 53
  • 157
  • 270
1
vote
1 answer

Registering a new Command Line Option in RYU App

I need to be able to read in a path file from my simple_switch.py application.I have added the following code to my simple_switch.py in python. LOG = logging.getLogger(__name__) CONF = cfg.CONF CONF.register_cli_opts([ …
liv2hak
  • 14,472
  • 53
  • 157
  • 270
0
votes
0 answers

DITG and Mininet Disconnectivity Issues

I want to set up a simulated network Kary-Fattree topology via mininet and test load balancing( one client sends to three server) using ryu as the controller and DITG as the traffic generator and monitor. Now I've done most of the work, but when I…
0
votes
0 answers

Is there some way to verify in Ryu controller whether a packet will match to a specified OFPMatch object or not?

I am trying to create a generic matching function in Ryu with OFv1.3 which will take an action if a match is found, in accordance with structure: class Action: match_ : OFPMatch or dict action : Callable payload: (args, kwargs) For…
Himanshu Tanwar
  • 198
  • 1
  • 11
0
votes
0 answers

Matching tunneling packet in OVS

I’m working with tunneling traffic (GENEVE and Vxlan). I have some VMs connect with a OVS bridge. Traffic from VMs is both tunnel and non-tunnel. Beside that, I have a Ryu controller to config qos for ports in bridge. I want matching only tunnel…
Hai Pham
  • 11
  • 1
  • 2
0
votes
1 answer

eventlet issue with ubuntu 20.04 running RYU

I really need your kind help with this problem. I recently upgraded ubuntu 18.04 to 20.04 and with it, I can't run the ryu controller that is based on python because it shows this import error: ImportError: cannot import name 'ALREADY_HANDLED' from…