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

how to Drop packet in ryu controller after detecting DDoS using ML

hi i'm working on project to detect and mitigate ddos on sdn using maching learning. the simulation was done by ryu controller and mininet. my question is that i was able to detect the attck but i'm really strugling with mitigation i want to drop…
0
votes
1 answer

check for TCP packet : Ryu - Python

Within a python application for an SDN controller (Ryu), how can I check if a packet in, is a TCP SYN, or SYN-ACK, in order to count these packets? *if packet in is TCP* self.total_packets += 1
amcc12345
  • 13
  • 3
0
votes
1 answer

How to export RYU Stats

With RYU controller, how can I export all stats (throughout the monitoring time) into csv file as time series stats using e.g., simple_monitor application?
Emma
  • 109
  • 1
  • 8
0
votes
0 answers

Any reason for getting this error? facing an issue in viewing ryu topology viewer

hub: uncaught exception: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/ryu/lib/hub.py", line 60, in _launch return func(*args, **kwargs) File…
0
votes
1 answer

How to handle invalid TTL packets with flow mods? RYU OpenFlow 1.3

I want to forward packets with invalid TTL to the controller. Is there any way to set a flow mod for that?
Camil
  • 97
  • 1
  • 8
0
votes
1 answer

Destination host is unreachable in SDN mininet with RYU controller

I have created a mininet topology like below using mininet and RYU controller from mininet.topo import Topo from mininet.net import Mininet from mininet.log import setLogLevel from mininet.node import OVSSwitch, Controller, RemoteController from…
Abiram
  • 13
  • 3
0
votes
2 answers

how to run python file on mininet

/Desktop/mininet/examples$ sudo python tree1024.py Error: Traceback (most recent call last): File "tree1024.py", line 10, in from mininet.cli import CLI ModuleNotFoundError: No module named 'mininet' Whenever I am trying to run…
0
votes
0 answers

How to performe deep packet inspection using Ryu controller fot Qos Perposes

I am trying to prioritize voice & video traffic over other types of traffic , i am using scapy to inspect and capture the traffic , i cant find a way to distinguish between those types. the field tos is always tos=0x0 . i am doing this to send a set…
0
votes
1 answer

How in per packet multipath routing implemented in openflow? Is flow table updated after each packet transfer?

I am trying to do multipath routing using per packet in openflow. I do not know how are multipaths used to deliver data on per packet basis. Is flow table updated everytime or group table does per packet delivery?
0
votes
0 answers

Assertion Error in OVSSwitch.open() : Unable to connect switches to controller

I am getting the Assertion error while trying to deploy a topology. As you can see from the logs that hosts and switches are deployed but the controller is giving trouble. I am uploading the…
0
votes
1 answer

RYU Controller with ARP Loop - Mininet

Loop Topology I dunno how to manage the ARP loop in this mininet topology. I have written the topology code using Python API and use the simple_switch.py Ryu controller, but I cannot still ping the h1 to h2. Can anyone able to help?
0
votes
2 answers

How to send a packet to all switches using ryu controller?

I need to measure link delay in Ryu controller. I want to send a packet-out message for all switches by the controller and calculate the time between the sent packet-out message and received the packet-in message. I am a beginner in Ryu and don't…
ali
  • 21
  • 1
  • 6
0
votes
1 answer

how to get packet loss and delay of a link in Ryu

To specify a path by minimum cost for sending a flow, I want to calculate the cost of link in Ryu controller by the following equation: cost(e)=delay(e) + PL(e) ∀ e ε E delay(e) is delay of link e. PL(e) is packet loss of link e. How to get…
ali
  • 21
  • 1
  • 6
0
votes
3 answers

ryu custom script not running with custom mininet topology

I am new to using mininet and RYU controller. I was implementing the Dijkstra algorithm in RYU as mentioned on --> http://csie.nqu.edu.tw/smallko/sdn/dijkstra_ryu.htm On the mininet I have created my custom topology as given below. But on running…
0
votes
1 answer

How to fix 'ImportError: No module named ...' in Linux?

I wanted to try codes from http://csie.nqu.edu.tw/smallko/sdn/dijkstra_ryu.htm but when I try to run the codes, it doesn't work. There always 'ImportError: No module dijkstra_ryu.py' error I am using Ubuntu 16.04.4 LTS, python 2.7.12 and 3.5.2, and…
Raihan Radito
  • 11
  • 1
  • 5