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

Understanding Ryu OpenFlow Controller, mininet, WireShark and tcpdump

I am a newbie to OpenFlow and SDN. I need help setting up the Ryu OpenFlow controller on a Ubuntu or Debian machine and understand a basic Ryu application. Note: this question already has an answer.
user5104026
  • 678
  • 1
  • 6
  • 22
3
votes
0 answers

how to run python script through mininet host without mistakes?

I have a problem running python script via host command inside the Mininet topology code. I want run HTTPServer.py on h1 and host.py on other hosts, so that they can send HTTP requests to h1. The following is my code ...Build a mininet…
lanhai
  • 31
  • 3
3
votes
2 answers

Ryu Controller Drop Packet

How do I send a flow entry to drop a package using Ryu? I've learned from tutorials how to send package out flow entry: I define the action: actions = [ofp_parser.OFPActionOutput(ofp.OFPP_FLOOD)] Then the entry itself: out =…
HSC
  • 75
  • 1
  • 8
3
votes
3 answers

ImportError: No module named oslo_config.cfg - Ryu App

I am running a sample Ryu application as outlined here: https://ryu-zhdoc.readthedocs.org/en/latest/writing_ryu_app.html But I am getting the following error: Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in…
alamba
  • 107
  • 1
  • 13
3
votes
1 answer

Can't establish a conection between two hosts in mininet using a Ryu REST controller

I create a custom topology in Mininet with the help of Mininets Python-API. The code to create the custom topology is: #!/usr/bin/python from mininet.net import Mininet from mininet.node import Controller, RemoteController from mininet.cli import…
André
  • 53
  • 2
  • 6
3
votes
2 answers

Datapath#ports is kept for compatibility

I am trying to get ryu to run, especially the topology discovery. Now I am running the demo application for that under ryu/topology/dumper.py, which is supposed to dump all topology events. I am in the ryu/topology direcory and run it using…
Dakkaron
  • 5,930
  • 2
  • 36
  • 51
3
votes
0 answers

Paramiko.ssh_exception.SSHException: Channel closed

I just encountered the problem with connecting the SDN switch, pica 8 3290, with ryu's of-config library and python paramiko library. Here's the traceback…
Shine Hsu
  • 63
  • 1
  • 5
2
votes
0 answers

Mininet- how to simulate errors?

I would like to ask, how can I simulate errors on switches in mininet? Such as rx_errors, tx_errors, dropped packets, collisions, crc errors, frame errors and other. My topology consists of 6 switches, 6 clients, 1 origin and 2 surrogate servers. I…
Aninkan
  • 31
  • 3
2
votes
0 answers

Generate traffic and measure qos parameters in custom mininet topology using Ryu Controller

I'm working on tweaking and testing QoS capabilities in SDN. I've tried POX and Ryu controller and run some custom topologies in mininet. However I need help for generating traffic in mininet topology. It seems that there are iperf and D-ITG for…
AJAY
  • 53
  • 6
2
votes
1 answer

Ping is not working on spine leaf topology on mininet

I am new in mininet and I want to know while I create spin leaf DataCenter topology and visualiz the topology using RYU controller the ping is not working. The Topology: ____[S1] [L1], [L2], [L3]------| …
Johonas
  • 33
  • 4
2
votes
1 answer

How to build a topology using networkX in mininet?

I built a simple network topology using mininet python script. However, I want to extend this code by using networkX to build the topology in mininet script. Thus, firstly, I should import the networx as nx. The reason for using networkX is to find…
Layally
  • 21
  • 6
2
votes
0 answers

How to built a SDN fat-tree topology using dockers? No Mininet

I'm setting up a fat tree topology with OVS - SDN in two servers using dockers. I built 7 switches (docker containers) and 4 hosts which will be connected to the access switches. 1 core switch 2 aggregation switches 4 access switches 4…
2
votes
1 answer

How to obtain packet count of TCP packets?

I am retrieving flow statistics using a _flow_stats_reply_handler as demonstrated in the Ryu Traffic Monitor example. I print using the following: file.write("\n{},{},{},{},{},{},{},{},{}" .format(ev.msg.datapath.id, …
HCF3301
  • 508
  • 1
  • 4
  • 14
2
votes
0 answers

Iperf stuck in mininet custom topology

I am using mininet on a Vagrant virtual machine that emulates Ubuntu Xenial (my laptop runs Windows 10). The topology is the following, with remote controller, static ARP and OVS Kernel Switch running in user-space: h1---s1----s4---h3 | \ / | …
2
votes
1 answer

curl -X POST -d for IPv6

I'm trying to pass an ipv6 address through curl -X POST -d. I'm following the example with an ipv4 address. With ipv4 it is done in the following way: curl -X POST -d '{"address": "10.0.1.100/24"}'…
1
2 3
10 11