Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleLegacy build process using Maven

It's also possible to use the legacy mvn build process if absolutely necessary, by setting ONOS_TAR to point to the ONOS package:

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 --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 gzip/tar archive:

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

...