Wiki » History » Version 5

« Previous - Version 5/14 (diff) - Next » - Current version
Michele Segata, 02/02/2017 10:38 AM



NePA TesT works in conjunction wit Mininet, but it requires advanced features for dealing with fine grained settings for the links.
To this end we have been developing and releasing a patched version of Mininet

To install it follow the usual instructions for Mininet:
git clone
cd mininet

or build the debian package:
git clone
cd mininet
make deb

You can check if your setup is correct with:
#>mn --test pingall

Installing and running mininet as local user

Instead of calling util/ do the following steps

  1. Installing prerequirements requires systemwide libraries in any case :(
    sudo apt-get install gcc make socat psmisc xterm ssh iperf iproute telnet \
    python-setuptools cgroup-bin ethtool help2man pyflakes pylint pep8 python-pexpect
  2. Install mininet python modules
    python install --user
  3. Add mininet folders to your PATH in .bashrc, e.g.:
    export PATH=$PATH:/home/username/src/mininet
    export PATH=$PATH:/home/username/src/mininet/bin
  4. Run mininet as sudo exporting the PATH env variable, e.g.:
    sudo env "PATH=$PATH" python -f conf/ping.ini -t JSONTest


Once installed the modified version of Mininet, to setup NePA TesT do the following:
git clone
cd wcn_emulator
git submodule init
git submodule update

To run a sample test:
#>python -f conf/ping.ini -t JSONTest


  • Exception: Could not find a default OpenFlow controller: from within the mininet source directory run ./util/install -f to install OpenFlow
  • ImportError: No module named [...]: be sure to install the required python libraries with sudo pip install networkx scipy numpy matplotlib psutil