Use this link to setup the VM for this task.
Building a network topology which consists of 3 switches with 4 hosts associated to each switch. Slicing this network into two virtual networks controlled by different controllers. Network 1 represents student network while Network 2 represents faculty network.
Each host in this network have maximum bandwidth of 10 MBps, with a maximum queue size of 1000 packets using the Hierarchical Token Bucket rate limiter, loss is in percentage which is set to 2, delay is with unit with 5ms.
Each host in this network has no fixed bandwidth, no delay, no loss.
Use networkslice.py to slice the network into student and faculty network.
$ sudo python networkslice.py
Use network1.sh for creating virtual student network.
$ sh network1.sh
Use network2.sh for creating virtual faculty network.
$sh network2.sh
To check the virtual network deployed in controller, go to http://localhost:10001/ui/index.html for looking into student network and go to http://localhost:20001/ui/index.html for looking into faculty network.