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
1 answer

Ryu SDN wsgi code error 400

I have ubuntu both 14 and 16 running ryu sdn framework on a virtual box. i'm using python 2.7.12. I'm also using mininet to build my network. When i run an app using ./bin/ryu-manager ryu/app/simple_switch_rest_13.py I get the following error…
0
votes
1 answer

Ryu OF version error

I'm trying to integrate the REST API to a simple switch based on the example in the Ryu book, here: chapter 4 here now when I run my code I get an error stating the OF version i'm using isn't supported and breaks at the event EventOFPHello. Even…
ami
  • 13
  • 5
0
votes
1 answer

Traceback (most recent call last) error in RYU Software Defined Network

I get the following error: Traceback (most recent call last): File "./ryuLinearTopo.py", line 6, in class LinearTopo(Topo): File "./ryuLinearTopo.py", line 32, in LinearTopo simpleTest() File "./ryuLinearTopo.py", line 21, in simpleTest topo =…
Hamza Farrukh
  • 57
  • 1
  • 10
0
votes
1 answer

How to change the attributions to make the actions of ryu drop the packet?

How do I send a flow entry to drop a package by using Ryu? I've learned from ryu official website how to send package out flow entry. Now I want to modify the simple_switch_13.py to drop the packet from the host1 to host2. But I can't find how to…
Charlie
  • 323
  • 1
  • 5
  • 10
0
votes
1 answer

Add a flow entry to flow table using Ryu

I am generating a proto=150 traffic using scapy tool.I want to add a flow table entry so that a switch will always send this pkt to the controller. I am generating IP traffic using scapy with proto 150: S=IP(proto=150,dst='10.0.0.2',len=100) I am…
Trrrrrr
  • 5
  • 1
  • 8
0
votes
1 answer

Can't Parse DHCP packets with Ryu's get_protocol(dhcp.dhcp)

I'm using the Ryu SDN controller with an Open vSwitch on mininet using OpenFlow 1.3 to parse DHCP packets. Following online examples and the Ryu resources, I've implemented a DHCP packet parser. However, it does not work as I expected it to, and I'm…
Jacob
  • 59
  • 6
0
votes
2 answers

Creating a simple topology (1 router, 2 switches, 4 hosts) in Mininet

I want to create this simple custom topology in Mininet: s1, s2 ,s3 are 3 OpenVSwitch. h1,h2,h3,h4 are hosts. Blue and red mark bidirectional links. c0 is a controller. I want to make s1 behave as a SDN router and s2, s3 to behave as SDN switches…
Kavi Kavi
  • 11
  • 1
  • 8
0
votes
1 answer

Openvswitch create queue can't reach bit rate limitation

all: I'm new to SDN and also new to stackoverflow. Here is my topology: When I setting the queue for mytopo, I notice that when the maximum bit lower than 300000, the iperf value become strange. Cant't reach the maximum bit rate setting. let…
楊亮魯
  • 61
  • 7
0
votes
0 answers

Custom controller file in ryu

I am trying to create a custom controller file which instantiate simple_switch_13.py and hub.py based on dpids. I am having a hard time in finding which class is responsible in assigning the dpids when switch or hub is created. Can somebody give me…
0
votes
0 answers

How to tell SDN switch to process packets directed to him

I'm building a SDN network with Ryu, openVswitch and OpenFlow. The problem i'm having is that my datapath doesn't answer messages that are for him, because the table-miss flow entry tells him to flood everything. This happens also for packets of…
dipo
  • 1
  • 1
  • 1
  • 4
0
votes
2 answers

OpenFlow - How are ICMP messages handled

I am running a Ryu controller and a Mininet instance with 2 hosts and 1 switch like below. H1---S---H2 Code in Ryu controller from ryu.base import app_manager from ryu.controller import ofp_event from ryu.controller.handler import CONFIG_DISPATCHER,…
Piyush Jain
  • 438
  • 4
  • 11
0
votes
1 answer

Ryu fakeGateway/Router

I am trying to code a fake gateway similar to this one in pox: to send packets between h1(10.1.1.2) and h2(10.1.4.2) in mininet My gateway has two interfaces, one in 10.1.1.0/24 (ip: 10.1.1.1) and one in 10.1.4.0/24 (ip:10.1.4.1) I am trying with…
warsang
  • 15
  • 6
0
votes
1 answer

Not able to install the RYU controller

I have tried to install the RYU controller . I am using the below commands “sudo python setup.py install “ its error out with below message That ryu.hooks not available and when I run the command “python setup.py install” it gives the error that…
0
votes
1 answer

ryu controller not forwarding packets

i'm trying to make a simple sdn network with ryu and openVswitch, but my ryu controller seems to not work properly. I'm just trying to ping two hosts, but when i execute the command ryu-manager simple_switch_13.py (which is a prebuilt script) the…
dipo
  • 1
  • 1
  • 1
  • 4
0
votes
1 answer

ryu (SDN) traffic controller from (example) Host 1

I created a simple network in the mininet environment with the following command: $ sudo mn --topo single,3 --mac --controller remote --switch ovsk I want use RYU CONTROLLER to calculate bandwidth traffic on special port of switch. I'm thinking of…
MNamazi
  • 101
  • 1
  • 14
1 2 3
10
11