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

Ryu SDN Controller - How to get specific information regarding the flowing packets

I'm trying to learn the Ryu SDN Controller for a personal project, and i need to know certain packet information to decide what to do with it. I've already imported : from ryu.lib.packet import ethernet from ryu.lib.packet import packet from…
D Venzi
  • 65
  • 1
  • 7
0
votes
1 answer

How is a network traffic flow uniquely identified?

What features/statistics of network traffic uniquely identifies a specific flow? My initial thoughts were unique identifiers such as all packets going from eth_src to eth_dst and in and out of the same ports. I have been using the Ryu Traffic…
HCF3301
  • 508
  • 1
  • 4
  • 14
0
votes
1 answer

Extration of rules placement in SDN

I am developing an algorithm to solve the rule placement problem in SDN , and I want to compare my algorithm with already-proposed . In order to do that, I want to conduct a simulation for geting rules placement as dataset(extract and reuse of…
0
votes
1 answer

ryu-manager's --observe-links option generates 'Unknown version (0x04)' on switches

I am trying to configure a SDN using 1 Ryu controller and 3 OpenvSwitch datapaths. Here is the code I run on my datapaths to let them talk to the controller: ovs-vsctl set bridge br0 protocols=[OpenFlow13] ovs-vsctl set-controller br0…
Pastello
  • 119
  • 3
  • 9
0
votes
2 answers

Python how get /8 subnet for an IP addres

How can I get the /8 subnet containing a given ip address. e.g., subnet 10.0.0.0/8 for ip 10.1.1.1 I tried it so for wit netaddr lib, but it doesn't do what it should network = netaddr.IPNetwork(ip) network.prefixlen=8 ip_subnet=network.cidr ip is…
aTuring
  • 47
  • 6
0
votes
1 answer

Proactive Flow Insertion and Routing Based on Priority in OVS

I have inserted two flow entry for same source and destination pair for active and backup path with different priority. Even if a link failure occurs the flow does not go through the backup path. Probably the kernel space doesn't care about port…
moyeen52
  • 425
  • 3
  • 13
0
votes
1 answer

Delete Flows matching specific cookie - OpenFlow 1.3.5 Spec support by OpenVSwitch

According to the OpenFlow 1.3.5 spec, page 44 specifies the following: Modify and delete commands can also be filtered by cookie value, if the cookie_mask field contains a value other than 0. This constraint is that the bits specified by the…
0
votes
1 answer

How to get Packet Processing(packet_in, flow_match, output) time in OVS switch?

I'm trying to evaluate a routing technique implemented by me with Mininet, Open vSwitch and Ryu controller. But currently I'm unable to figure out the measurement techniques of packet processing time within switch. I can measure probe message…
moyeen52
  • 425
  • 3
  • 13
0
votes
1 answer

Ryu(SDN) - identify packet send by controller from switch to switch

I am a newbie to SDN and have to implement latency monitor with Ryu controller. I am thinking of sending a packet from switch to switch, where i remember the packet send, and then i recieve it at end switch i will calculate the delay. The problem is…
KnucklePunch
  • 103
  • 8
0
votes
2 answers

Integrate Kubernetes and SDN?

I'm using Kubernetes to build a platform, that can control multiple Raspberry PIs. And let those PIs cooperate with each other to achieve some complex application, such like computing vision. Because the PIs may moving, hence the network topology…
蔡霈萱
  • 23
  • 5
0
votes
0 answers

SDN: Sending a packet from Ryu controller directly to host

Is it possible to send a data packet from controller directly to the host? I'm using a Ryu controller in my application and I want to create the covert channel where I can send some data between controller and host.
Przemek
  • 27
  • 4
0
votes
1 answer

How to send data from Ryu controller to Host

I'm wanting to send a string from Controller to a host in Ryu controller. I need send a String inside the packet-out but the documentation isn't clear about it. I've tried some solutions, but i can't do it.
0
votes
1 answer

Mininet: How to run controller code without using xterm

I have installed mininet on remote server, There is no X server installed in this machine. I am not able to run xterm c0 command. gives error Error: Cannot connect to display I want to run tests on switches using ryu. I am not able to open the…
nutim
  • 169
  • 3
  • 15
0
votes
1 answer

Adding an IP based flow entry using RYU REST API

I am trying to add a flow entry using RYU OFCTL REST based api (ryu.readthedocs.io/en/latest/app/ofctl_rest.html) for adding flows to an OVS Switch running on mininet RYU is running ofctl_rest and simple_switch these two applications I am using a…
user3445623
  • 3
  • 1
  • 5
0
votes
1 answer

Block flow/drop packets ryu controller

i'm trying to implement a method that blocks a specific flow and consequently drops packets. I pass to it the datapath, the source ip and the destination ip. The app detects the flow, but the flow continues to work, the source sends data, and the…