...
- The Apache Karaf binaries (either .zip or .tar.gz format) are available in ~/Downloads
- The ONOS source has been built
The ONOS_FEATURES variable should be set to the list of modules Karaf should launch with ONOS:
Code Block language text $ export ONOS_FEATURES="webconsole,onos-api,onos-core,onos-cli,onos-openflow,onos-app-fwd,onos-app-mobility,onos-app-tvuegui"
On the target VM:
- The Oracle Java 8 JRE and Maven are installed
A user named sdn with pasword-less
sudo
privilege, or, on the build machine, the ONOS_USER environment variable is set to the preferred user for the VM.Tip To enable sudo without a password, edit the sudoers configuration. To do this, run
sudo visudo
within the VM, and add the following line:Code Block language text sdn ALL=(ALL) NOPASSWD:ALL
...
Code Block | ||
---|---|---|
| ||
$ onos 192.168.56.20 Welcome to Open Network Operating System (ONOS)! ____ _ ______ ____ / __ \/ |/ / __ \/ __/ / /_/ / / /_/ /\ \ \____/_/|_/\____/___/ Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown ONOS. onos> |
Alternatively, pointing a browser at http://<onos-ip>:8181/onos/ui will display the ONOS Web GUI.
Handling multiple remote targets
For dealing with deploying ONOS on multiple remote machines (i.e., as a cluster), the behavior of the ONOS utilities can be streamlined configured by employing test cells. Test cells are discussed under Test Environment Setup in the Developer's Guide.
...