Software Defined Systems support extension for Mininet-WiFi Emulator
Software Defined Systems support Extension for Mininet-WiFi Emulator
This repo holds the outcome of the collaborative work on supporting software defined systems as an extension to the well-known Network SDN Emulator Mininet-wifi.
The list of supported systems are as follows:
Summary of set up
There is no special configurations required to run the system, all you've to do is to clone the repo and cd into the system directory (ex. SDCD) and run the experiment.
Configuration
Dependencies
As stated in the description, the proposed systems support works as an extension to mininet wifi. so you should have mininet-wifi installed inside your machine. you'll need:
Temporarily: The Experiements are compatible with mininet-wifi v2.2.
Python2.7
How to run tests
In order to run the experiments, follow these instructions:
cd SDCD
then run the experiment via sudo python2.7 sdcd_experimental.py
.cd SDStorage
then run the experiment via sudo python2.7 sdstorage_experimental.py
please note that, for you to be able to run the experiments properly, you need to wait for car1 to be connected to one of the mec node. -a nice tip here is to place the MEC nodes near to each other-.
car1
is in range of any MEC node, enter the amount of storage units the car is willing to store. Note that Each MEC node is set to have a predefined capacity of 125000 storage units. As specified in the study, auto-scaling storage capacity for MEC nodes will be triggered on-demand.If you encountered problems with your wifi-drivers which might stops the nodes from getting connected to the experiment basestations, you need to stop your network manager and use wpa_supplicant to retain your interenet connection which is needed to load the simulation environment map. Instructions to connect using wpa_supplicant are as follows:
# Login as sudo user
sudo su
# Scan wireless networks
sudo /sbin/iw wlan0 scan
# Stop the network manager
service network-manager stop
# Register wifi network 'home-accesspoint'. You'll be prompted for wifi password
wpa_passphrase home-accesspoint >> /etc/wpa_supplicant/file.conf
# Connect to the network home-accesspoint
sudo wpa_supplicant -B -D wext -i wlo1 -c /etc/wpa_supplicant/file.conf
# Check Connection Status
iw wl0 link :: connected
# Add the following name servers to access the internet 8.8.8.8, 8.8.4.4
vim /etc/resolv.conf
Don't hesitiate and go ahead submit your PRs