Awesome Open Source
Awesome Open Source
               JOIN for more discussions and help each other. 

         It seems the repo is getting some popularity please let me know if you have any questions. 
         You can contact me via email at [email protected]
         I have limited time on maintaing this repo. So feel free to create pull requests and add to this repo. 
         Even documenting the errors you had to deal with would be usefull.

Other resources:


Creates a simple Ryu app using the tutorials and then adds on to it.

How topology discovery works?

In order to answer that question read the following page.


This includes the bone structure of the topology learning mechanisim. It doesn't have any special data structure so it is easier to follow the code.

This file has a shortest path function. In case of link failure, Dijikstra algorithm is ran and the new shortest path is then calculated.

This controller has the features explained for and in one file.

This controller is able to respond to ARP requests. For examle, if A sends a ARP request to B and controller has learned the host B (knows the IP address and MAC address) then controller responds to that ARP as if B is responding.

This controller has a WSGI server running as well which responds to http REST api requests.

This file has additional funcitons which would run the Spanning Tree protocol. The code detects the loops and it breaks them. Also in case of topology change new paths are calculated.

This file contains some of the errors and problems I faced during the whole process. So it is worth it to have a look when you face any error. I might have the solution there.

This file creates a topology of k switches, with one host per switch. The shape of the topology is linear.

This file creates a packet topology with a loop inside.

This file contains instructions on how to use Ryu app to perform Spanning Tree Protocol.

This file contains a topo with 3 switches connects in loop. It is used in Each switch is connected to one host.

This file contains instructions on controlling Pakcet network using simple Ryu app.

A mininet custom topo with taps and arranged in loop.

This file contains explanations on how to perform topology discovery in RYU.

This document contains instructions on how to use file.

This file is based on the from Ryu Github repo. The file captures more events and OF messages.

This file was downloaded from this link. There are explanations in the following link. The code contains comment which describe the code. The code illustartes the usage of Ryu STP library in applicaitons. I used this code and integrated it into which made up the

resources dir

This directory copntains images which are used in the tutorials.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,138,634
Tutorial (7,085
Sdn (276
Topology (218
Related Projects