-
Setup a working directory
mkdir ~/topologies/
-
Install the IoT-LAB CLI tools (also for Python 3)
https://github.com/iot-lab/iot-lab/wiki/CLI-Tools-Installation
cd cli-tools-[release_version] && sudo python3 setup.py install
-
Authenticate to the IoT-LAB locally and at the IoT-LAB site
iotlab-auth -u [your_username] ssh -tt [your_username]@lyon.iot-lab.info "iotlab-auth -u [your_username]"
-
Install CometOS for taking the path measurements
sudo apt-get install scons gcc-arm-none-eabi git clone https://github.com/CometOS/CometOS.git ~/topologies/cometos echo 'export COMETOS_PATH=~/topologies/cometos' >> ~/.bashrc echo 'export PATH=$PATH:$COMETOS_PATH/support/builder' >> ~/.bashrc source ~/.bashrc
-
Clone this repository and install the prerequisites
git clone https://github.com/koalo/iotlab_topologies ~/topologies/iotlab_topologies sudo apt-get install graphviz-dev pip3 install pygraphviz networkx pulp
-
Run a channel evaluation measurement and wait until it is finished
cd ~/topologies/iotlab_topologies/cometos/ ./run.py lyon
-
Analyze the logs
cd ~/topologies/iotlab_topologies/topology/ ./generate_paths_data.py lyon m3 all ../cometos/logs/latest/*_run.log ./linkhist.py paths-data-lyon-m3-all.json ./nodedeg.py paths-data-lyon-m3-all.json
-
Run the tree selection algorithm
cd ~/topologies/iotlab_topologies/selection/ ./tree_selection.py lyon all
-
Run the fixed density algorithm
cd ~/topologies/iotlab_topologies/selection/ ./density.py lyon all 60
forked from koalo/iotlab_topologies
-
Notifications
You must be signed in to change notification settings - Fork 0
Toolset for Generating Multi-hop Topologies for the FIT IoT-LAB
License
vishal623/iotlab_topologies
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Toolset for Generating Multi-hop Topologies for the FIT IoT-LAB
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 95.4%
- C++ 4.6%