...
If Mininet doesn't work, consult the troubleshooting section below.
...
Building ONOS
Make sure that you have built ONOS in your Mininet VM or server using buck
:
cd ~/onos
buck build onos
Make sure that the build completes without errors - without a correct ONOS package, you will not be able to start ONOS.
Info | ||
---|---|---|
| ||
ONOS |
First, make sure that you have built ONOS in your Mininet VM or server using buck
:
cd ~/onos
buck build onos
| ||
It's also possible to use the legacy cd ~/onos mvn clean install # or mci for short; needs to complete without errors onos-package # once again, | ||
Info | ||
---|---|---|
| ||
It's also possible to use the legacy cd ~/onos mvn clean install # or mci for short; needs to complete without errors onos-package # once again, needs to complete without errors cdcd ~/onos/tools/dev/mininet sudo env ONOS_TAR=/tmp/onos-1.7.0.openflow.tar.gz mn --custom onos.py --controller onos,1 ... Make sure that you use the correct ONOS_TAR file name for your version of ONOS. Also make sure that it is a sudo file /tmp/onos-1.7.0.openflow.tar.gz /tmp/onos-1.7.0.openflow.tar.gz: gzip compressed data, from Unix, last modified: Thu Jun 2 15:08:11 2016 |
...
Starting up ONOS and your data network
Info | ||
---|---|---|
| ||
ONOS |
Next, use Mininet and onos.py
to start up a virtual ONOS cluster and data network:
...