Statistics
| Branch: | Revision:

poprow-configs @ master

Name Size Revision Age Author Comment
  conf 0638e0cb about 2 years Michele Segata add switch for using olsr v1
  data 0638e0cb about 2 years Michele Segata add switch for using olsr v1
  test_code 0638e0cb about 2 years Michele Segata add switch for using olsr v1
.gitignore 48 Bytes f814ea55 about 3 years Michele Segata add .gitignore
.gitmodules 105 Bytes 722c568b about 3 years Michele Segata add nepa test submodule
README.md 2.21 KB 0638e0cb about 2 years Michele Segata add switch for using olsr v1
wcn_emulator 0 Bytes 8177b5a3 about 2 years Michele Segata update wcn_emulator with new features

Latest revisions

# Date Author Comment
0638e0cb 09/20/2017 08:08 AM Michele Segata

add switch for using olsr v1

a8097884 09/20/2017 07:30 AM Michele Segata

output routing table of all nodes

174f2cdd 09/20/2017 07:29 AM Michele Segata

add constant metric plugin for olsr v2 tests

0935f68b 09/20/2017 07:12 AM Michele Segata

add ring experiment

8177b5a3 09/19/2017 01:10 PM Michele Segata

update wcn_emulator with new features

7c53bcfc 02/07/2017 09:41 AM Michele Segata

check whether the OLSR daemon pid is set

149efeb7 02/07/2017 08:47 AM Michele Segata

update README.md

f814ea55 11/17/2016 07:38 PM Michele Segata

add .gitignore

8e0c440a 11/17/2016 07:38 PM Michele Segata

add simple OLSRv2 test scenario

722c568b 11/17/2016 07:37 PM Michele Segata

add nepa test submodule

View all revisions | View revisions

README


POPROW Configs

Repository storing nepa test configurations for the POPROW project.

Generic information

The repository includes the following folders:

  • conf: stores nepa test config files
  • test_code: python files implementing scenarios
  • data: files required by scenarios, such as edges or configuration files
  • wcn_emulator: git submodule with the nepa test source code

To clone this repository:

  • git clone --recursive ssh://git@ans.disi.unitn.it:6022/poprow-configs.git

Clearly, this requires to have mininet installed (see here)

List of scenarios

OLSRv2_Test

This scenario tests the OLSRv2 protocol with a simple topology, which is the following:

  1 --- 2
 /       \
0         4 --- 5
 \       /
  3 ----

The scenario starts up and runs the OLSRv2 daemon on each node. After 10 seconds, the emulation prints the routing table of node 0, which shows that node 3 is the gateway towards nodes 4 and 5. Then the OLSR daemon of node 3 is killed, and after 20 seconds the emulation prints again the routing table of node 0, showing that the new gateway towards nodes 4 and 5 is now node 1.

To run the scenario you need the following steps:

  • Clone and build OLSRv2 (commit b4d2c26f4ee5236fb2ee38addf779227776733a4):
    • cd ~/src/
    • git clone https://github.com/OLSR/OONF.git
    • cd OONF/build
    • cmake .. && make
  • Add a simlink to /usr/sbin to have the daemon in the PATH when running with sudo
    • sudo ln -s $HOME/src/OONF/build/olsrd2_static /usr/sbin/olsrd2_static
  • Clone and build OLSRv1 (commit 195a11115fa971c27fedc6bfce58665ab86b2008)
    • sudo apt-get install libgps-dev (to compile all plugins)
    • cd ~/src/
    • git clone https://github.com/OLSR/olsrd.git
    • cd olsrd
    • make build_all
  • Copy plugins into the root folder:
    • cp lib/*/*.so.* .
  • Add a simlink to /usr/sbin to have the daemon in the PATH when running with sudo
    • sudo ln -s $HOME/src/olsrd/olsrd /usr/sbin/olsrd
  • Run the scenario with
    • sudo LD_LIBRARY_PATH=$HOME/src/olsrd/ wcn_emulator/nepa_test.py -f conf/OLSRv2_test.ini -t OLSRv2_test

Also available in: Atom