A brief description for each file in the repo:
controller.py
: Ryu controller to handle voip communicationflowvisor.sh
: bash script to load flowvisor configurationit.py
: Ryu controller to handle IT Support slicemn_topo.py
: Network Topologyoffice1.py
: Ryu controller to handle office 1 sliceoffice2.py
: Ryu controller to handle office 2 sliceoffice3.py
: Ryu controller to handle office 3 sliceREADME.md
: this README filerun_controllers.sh
: bash script to start Ryu controllersSchema Topologia.png
: graphical representation of network topologysend.py
: Python script to test ping and iperf utilitiessshsocket.py
: listener for ssh servicevoipsocket.py
: listener for voip service
- Start Vagrant
vagrant up comnetsemu
- Start mininet
sudo python3 mn_topo.py
- Move the controller scripts in the same folder as "run_controller.sh"
mv office1.py office2.py office3.py it.py controller.py ~/Networking2/
- Put the flowvisor script into /home/vagrant/comnetsemu/app/realizing_network_slicing/slicing_scripts
cp flowvisor.sh ../comnetsemu/app/realizing_network_slicing/slicing_scripts/
- cd into /home/vagrant/flowvisor_patch/
cd ../flowvisor_patch/
- build and run flowvisor
./build_flowvisor_image.sh
./run_flowvisor_container.sh
- once in the container cd into "/root/slicing_scripts" and execute flowvisor.sh
cd /root/slicing_scripts
./flowvisor.sh
- In another terminal execute run_controller.sh
./run_controller.sh
- Enjoy!