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 gets no links

I am trying to build a ryu application with starts and tries to get the owl topology. Therefor I’m using the get_link and get_switch function from the ryu.topology.api. Getting the switches is no problem but the list of links is always empty. I…
Uois
  • 11
  • 2
1
vote
0 answers

How to build a better SDN Controller for this problem?

I'm trying to solve this problem for a homework: https://i.stack.imgur.com/uf5nJ.jpg I have a Mininet network with 3 AP and 2 Stations. One station is fixed and the other is a drone that can randomly move freely on the x axis and on a limited range…
1
vote
0 answers

Working in a SDN enviroment with RYU and OVS

has anyone worked with RYU and OVS and tried to manage an OVS switch that runs in another PC than where the RYU is located? We are able to obtain data from these switches with the commands of the ovs-vsctl package but we are not able to generate…
fmaynard
  • 13
  • 3
1
vote
2 answers

Connecting mininet host to the internet

I've tried creating a simple topo with 1 switch (s1) and 1 host (h1). As suggested on the the internet, I've add a port to the switch 's1' with ovs-vsctl add-port s1 enp0s3 and configure the host with ifconfig h1-eth0 0 dhclient h1-eth0 To my…
fieq.fikri
  • 73
  • 3
  • 13
1
vote
1 answer

OpenFlow 13, RYU SDN controller, what exactly is a buffer_id?

I've been struggling with the RYU SDN controller working on OpenFlow13 for quite a while now. And I don't understand what we need a buffer_id for. I am trying to write a proxy application, so when I receive 192.168.2.2 as a ipv4.dst I modify it to…
XChikuX
  • 766
  • 1
  • 9
  • 33
1
vote
1 answer

Iperf flow is not assigned to queue

I'm new to ryu rest QoS. I'm trying to create QoS queue and divide bandwith link to two iperf flows. First flow max-rate is 300Kbps. Second flow min-rate is 700Kbps. Link bandwith is 1Mbps. Problem is both flow are using circa half…
Torrado36
  • 167
  • 1
  • 2
  • 10
1
vote
1 answer

Database interface with RYU controller

Is it possible to interface a database containing IP address with RYU controller where the incoming packet IP address is compared and a result is sent to the controller as true or false?
Anish.P
  • 11
  • 2
1
vote
1 answer

Openflow : Creating a flow Tee

I want to create a flow Tee in a switch to send packets to an IDS. That is, I want the following effects: When packet comes into the switch match on source MAC. If MAC matches make two copies of the packet: For one of the copies, rewrite the…
1
vote
5 answers

To know port numbers in openvswitch

I am running a switch test Switch Test on real environment with one openvswitch and real sdn switch. I created a bridge on openvswitch and added ports (ex. eth0, eht1). But I want to know logical port numbers (like 1, 2) which command gives me…
nutim
  • 169
  • 3
  • 15
1
vote
2 answers

Monitor Mininet OpenFLow Traffic in WireShark with RYU Controller

I am using RYU controller for SDN Setup. I want to monitor basic openflow handshake messages but i have failed to do so.. Here are the steps i do after install of mininet, wireshark and ryu. ./bin/ryu-manager --verbose…
S. A. Malik
  • 3,465
  • 6
  • 37
  • 56
1
vote
1 answer

How to emulate latency using Ryu SDN application?

I need to emulate network latency using Ryu SDN controller. I first tried to add a sleep time after the decorator which calls a function everytime the controler receives a packet in message but the problem is this function is not able to treat the…
HSC
  • 75
  • 1
  • 8
1
vote
1 answer

How can I implement BGP on ryu?

I need to connect two Autonomous Systems by using the BGP running on Ryu controller. I've been trying to implement different codes I found, but I don't know how to do it properly. Please provide any method to do this.
1
vote
1 answer

Matching TCP flows based on tcp ports Ryu Controller

i'm trying to redirect TCP flows to a specific servers using their tcp source port with RYU SDN controller. This is my topology (simple for the first step): host -- ovs1 -- ovs2 -- server match rule for ovs1: match =…
GinesGarcia
  • 61
  • 1
  • 5
1
vote
0 answers

Ryu, openflow v1.5, OFPET_BAD_ACTION, OFPBAC_BAD_OUT_PORT errors

When I run simple_switch_14.py application in mininet environment, the ping of hosts works just fine. Then I change the following strings of code: 1) "from ryu.ofproto import ofproto_v1_4" to "from ryu.ofproto import ofproto_v1_5" 2)…
passsp
  • 61
  • 5
1
vote
1 answer

How I can identify a packet from the Ryu-controller to OF switch?

I need to identify a control packet from Python RYU-controller. In other words: How I can to do the following instruction? If (I receive a OFPT_PACKET_OUT msg from ryu-controller) do something (for example all control traffic must mirroring to…