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
2
votes
0 answers

Import Error: cannot import name poll

I am trying to launch https://github.com/OpenState-SDN/spider when I try to Launch SPIDER: $ cd ~/spider/src $ sudo ryu-manager SPIDER_ctrl_WEBAPP.py I get Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in…
Abdullah
  • 21
  • 1
2
votes
1 answer

Getting OpenFlow rules from a datapath

In Ryu Controller, for a selected datapath, how can I get the OpenFlow rules from the switch? For example, for the rule below: cookie=0x0, duration=18575.528s, table=0, n_packets=1, n_bytes=98, priority=1,ip,in_port=3,nw_dst=10.0.0.1…
Anamort
  • 341
  • 4
  • 17
2
votes
1 answer

Ryu framework, tcp_flags in parser.OFPMatch

I am trying to match flow in openflow-compatible switch (openflow 1.5) by using ryu framework. As far as I know, openflow version 1.5 supports 'tcp_flags' match conditions, and Ryu also does. So, when I am trying to code like: match =…
passsp
  • 61
  • 5
2
votes
1 answer

Ping fails in Mininet, RYU - OpenFlow 1.3

I am using Mininet, RYU controller and OpenFlow 1.3, to create a topology where host h1 is connected to host h2 using a switch p0es0 in the following way: h1 h1-eth0:p0es0-eth3 h2 h2-eth0:p0es0-eth4 In my Ryu Controller application, I have the…
Abhishek Balaji R
  • 665
  • 10
  • 25
2
votes
0 answers

Error to add nw_dst as a Match field while working with OpenFlow v1 in ryu

I am using RYU controller with flowvisor. As flowvisor do not support any other version other than openflow v1. I am using openflow v1 in my project. I have topology of 3 ovs switches and controller sits in one of server conataining ovs bridge.…
explorer
  • 737
  • 1
  • 8
  • 23
2
votes
1 answer

Mininet pingall fails when there is loop in topo

I am using Ryu as my SDN controller to control a topo that has a loop. I am using a learning switch technique to route packets. My main functions/handlers are: @set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER) def…
Ehsan Ab
  • 679
  • 5
  • 16
2
votes
1 answer

How to fetch OVS Port Information with Ryu

I am currently setting up a testbed using the OpenVSwitch and the Ryu SDN Controller framework. The OVS is running on linux, and has three ports (including the internal port), as can be seen in the following output: root@MOF:~# ovs-ofctl -O…
Daniel
  • 1,398
  • 4
  • 20
  • 47
2
votes
1 answer

How can i "activate" the port disabled/blocked by STP using OpenFlow and Ryu controller, so i could forward packets through it?

I'm looking for the way to send packets using OpenFlow 1.3 protocol in SDN network in a topology with loop. My choice of controller is Ryu. To identify the hosts i'm catching ARP packets and to avoid floodstorm i'm using STP. My problem is that…
Jacu629
  • 53
  • 8
1
vote
0 answers

Actions not executed in SDN Ryu application

I hope that you are all doing well, So I am working on a SDN application using Ryu controller, I want to implement mpls and then trqffic engineering (load balancing) later on. I have started by getting the path using 'shortest path method' from…
1
vote
1 answer

Checking mode availability using ping in RYU controller

I’m trying to write code that checks if a node is up by pinging the node in ryu controller. If the node responds, then the node is marked as being up. I already have the code for the controller so I want to incorporate this ping code into the…
Elo
  • 11
  • 2
1
vote
0 answers

PYTHON script using OS commands to start ONOS controller, RYU Controller and add ISP router flows? (GNS3)

Within a UBUNTU VM, using GNS3 I created code that is an attempt to perform 3 different outcomes, since these programs can't run mutally in the same terminal however I'm not sure how to seperate them into seperate terminals and add delays inbetween…
1
vote
0 answers

Connecting two mininet in two different VM with the same Ryu Controller

I am using virtual box on Windows 10 and running two VMs with ubuntu 18 concurrently Both of them have mininet installed. In the VMs settings I have set the network as Host Only adapter and in advanced selected allow VMs so that both the VMs can…
COLLiDER
  • 31
  • 5
1
vote
1 answer

Putting hosts in vlan using Ryu controller

I have used the following commands to put four hosts h1 h2 h3 h4 connected to a single switch s1 in two vlan with vlan tag 10 and 20, First start mininet. sudo mn --topo single,4 --controller remote --mac -i 10.0.0.1/24 then using ovs commands first…
COLLiDER
  • 31
  • 5
1
vote
0 answers

How do I run an application for the Ryu SDN controller written in Python 2?

The work is carried out on the Ryu controller, the source code of which is posted here: https://github.com/faucetsdn/ryu/tree/master/ryu In addition, the following software is used 1)!Ubuntu 20.04 LTS 2) Python 3.8.10 and 2.7.18 are installed. Using…
user18120939
1
vote
1 answer

How to properly set custom bandwidth in mininet?

I am trying to set the bandwidth to 1.7MBps, but it is not working. I saw to use argument --link=tc,bw=1.7 so I did and it is still not working. When I use commands in the mininet console to see the bandwidth, it's way too big but I found out it is…
Aninkan
  • 31
  • 3
1
2
3
10 11