It seems the repo is getting some popularity please let me know if you have any questions.
You can contact me via email at a.ehsan70@gmail.com
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.
- Learn how to work with optical and packet typologies using Mininet and LINC-OE: https://github.com/Ehsan70/Mininet_LINC_script
- Learn how to use POX to interact with the SDN controller: https://github.com/Ehsan70/SDN
- Learn creating topology, simulating optical and packet link failures: https://github.com/Ehsan70/Link_Failure_in_Mininet_LINC
Creates a simple Ryu app using the tutorials and then adds on to it.
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 ControllerAdvanced-ARPhandling.py
and ControllerAdvanced-REST.py
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 STM.md
. 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 ControllerAdvanced-ARPandRest.py
file.
This file is based on the simple_switch_13.py 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 Controller.py which made up the ControllerSTP.py
This directory copntains images which are used in the tutorials.