Installation
OpenFlow-DMM implementation has been tested for Ryu 3.17 and above and it requires OpenFlow 1.3 or above.
WLAN_IFACE = 'wlan'
GW_IFACE = 'gw'
WLAN_IFACE is the beginning of name of the switch's interface where the users connect to (i.e. wlan0, wlanA1, etc. will match).
GW_IFACE is the beginning of name of the switch's interface acting as gateway (i.e. gw0, gwA1, etc. will match).
- Make executable the file run.sh:
$ chmod +x run.sh
- Run the network controller:
$ ./run.sh
Quick test
- You may run a quick test using Mininet. Please check Mininet's webpage to properly configure your environment.
- Once you installed Mininet, you may run the following command in order to see how the network controller detects the switch attchament:
$ sudo mn --switch ovsk,protocols=OpenFlow13 --mac --controller=remote,ip=<IPADDR> --topo tree,depth=2,fanout=4