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.
...
First, make sure that you have built ONOS in your Mininet VM or server using buck
:
cd ~/onos
buck build 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 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 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 |
Next, use Mininet and onos.py
to start up a virtual ONOS cluster and data network:
...