...
Tip | ||
---|---|---|
| ||
To use karaf or onos command described in following sections, $KARAF_HOMEROOT/bin needs be added to the PATH environment variable. By default $ONOS_ROOT/tools/dev/bash_profile expects $KARAF_HOMEROOT to be ~/Applications/apache-karaf-$KARAF_VERSION and add them to the PATH. If you have installed Apache Karaf to a different path, define $KARAF_HOMEROOT pointing to the correct path before including $ONOS_ROOT/tools/dev/bash_profile |
...
Karaf must first be configured to load the ONOS-related modules. KaraKaraf's configuration file KARAFfile $KARAF_HOMEROOT/etc/org.apache.karaf.features.cfg
.
...
Code Block | ||
---|---|---|
| ||
$ karaf clean Welcome to Open NetworkingNetwork 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> |
...
Tip | |||||
---|---|---|---|---|---|
Launching karaf may bring up the default karaf prompt, without the 'ONOS' ASCII art. This is purely cosmetic, and shouldn't affect functionality. If the branding is desired, one can move the branding bundle created during the build process to karaf's lib directory:
And relaunch karaf. |
...
Code Block | ||
---|---|---|
| ||
$ onos 192.168.56.20 Welcome to Open NetworkingNetwork 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> |
...