Test-sdn/openflow based on the Simple-switch app on the Ryu Controllers (Controller)

Source: Internet
Author: User

Recently has been learning Ryu controller, in the process of use, found the following aspects of the advantages: Ryu controller is written in Python language, in the understanding and speed is very fast; The Ryu controller's overall architecture is clear, In the future, I will organize an architectural article about the Ryu controller for your reference; The Ryu controller itself is a powerful network experimental platform that is very well compatible with OpenStack and is not very familiar to OpenStack, Know the capabilities of data center cloud computing that can be achieved through OpenStack; The Ryu controller itself comes with a lot of well-written apps, and by being familiar with these apps, you can get a good grasp of the ability to write apps through the Ryu framework, which in other sdn/ OpenFlow controller is incomparable, at the same time, because the Ryu controller itself has been written in a very comprehensive function, network developers can basically use this framework to write their own apps, reduce the work of two development, this is also a merit.


The following is a sample of the Simple-switch.py app testing process, through the app to implement the flow table self-issued.

Simulate a switch (S1) three hosts (H1,H2,H3) on the mininet, then connect the Ryu controller remotely, use 127.0.0.1, and establish a connection with 6633port

Open two terminal terminal, one for mininet to establish a network topology simulation environment, one for analog remote Ryu controller.

First, in the Ryu controller to open the Simple-switch.py app, enter the command: Ryu-manager simple-switch.py, after opening


Second, establish a mininet simulation topology on another terminal, enter the command: MN--topo single,3--mac--switch Ovsk--controller Remote

Then the terminal in the Ryu will show the establishment of the connection, at the same time, will also synchronize some switches and controllers to establish the connection information,


At this time, the forwarding flow table in the switch is empty, so at this time the host is not able to communicate, in the use of H1 to ping H2, will be actively set up flow table


Note that the broadcast is done first, then the flow table in the opposite direction is established, and then the flow table in the positive direction is established. Flow table


Test-sdn/openflow based on the Simple-switch app on the Ryu Controllers (Controller)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.