Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
In order to use onos.py
, you need Mininet. It's easy to install Mininet from source in an Ubuntu VM or server using apt-get
:
apt-get install mininet
or from source:
git clone http://github.com/mininet/mininet
mininet/util/install.sh -nv
You can also download a pre-built Mininet VM.
If you are running Ubuntu 16.04, you can easily install Mininet 2.2 using apt-get
:
apt-get install mininet
Creating a virtual ONOS network using onos.py
and Mininet
...
Mininet doesn't work - what should I do?
First, make sure you are running Mininet 2.2.1 or later:
mn --version
Make sure that the following command works:
...