A Software Defined Controller for mobile device and IP swap support based on ryu.
There is a testcase based on mininet included. To run it follow this manual.
- Fire up a new Ubuntu VM ( or physical machine, but be aware that mininet and ryu making serious changes to your system settings.
- Install Python 2, Mininet and Ryu
- Clone this repository and navigate into the resulting folder.
- Start the controller with the command
ryu-manager simple_switch.py
- Start the testnetwork by using
python topo-mobility-wocontrol
The shape of the network is:
(h1)
|
(s1)--(s2)--(s3)
|
(h2)
- Use the method
s1.moveHost(hostname, old_switch, new_switch)
to move a host from one switch to another - With the method sh
ovs-ofctl dump-flows <switch>
you can have a look at the installed flows on each switch
The architecture of the switch is built in a way, that you can easily exchange modules or create new modules for packets and protocols. Beginn with the simple_switch.py, to get a basic understanding of how the application works.
ProjectIcon By VistaICO.com (VistaICO Toolbar Icons) [CC BY 3.0 (http://creativecommons.org/licenses/by/3.0)], via Wikimedia Commons