...
In order to run ONOS using onos.py, you will need a correctly built ONOS package in your VM.
We recommend sure building ONOS in your Mininet VM or server using buck
:
...
Make sure that the build completes without errors - without a correctly built ONOS package, you will not be able to start ONOS.
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 cd ~/onos/tools/dev/mininet # See below for more details on options for mn sudo env ONOS_TAR=/tmp/onos-1.7.0.openflow.tar.gz mn --custom onos.py ... Make sure that you use the correct 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 |
A final alternative is to build elsewhere, copy the ONOS tar.gz file to your development VM, and set ONOS_TAR
appropriatelyYou may also build elsewhere, copy onos.tar.gz
into your development VM, and set ONOS_TAR
to its full path.
Starting up ONOS and your data network
...