...
Once onos-install returns with the last message in the code block above, we can try logging on from our build machine:
Code Block | ||
---|---|---|
| ||
build:~$ onos $OC1 |
...
Logging in as karaf |
...
Welcome to Open Network Operating System (ONOS)! |
...
____ |
...
_ |
...
______ |
...
____ |
...
/ __ \/ |/ / __ \/ __/ |
...
/ /_/ / |
...
/ /_/ /\ |
...
\ \____/_/|_/\____/___/ |
...
Documentation: wiki.onosproject.org |
...
Tutorials: |
...
tutorials.onosproject.org |
...
Mailing lists: lists.onosproject.org |
...
...
Come help out! Find out how at: contribute.onosproject.org |
...
...
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> |
We are now actually logged into the ONOS CLI of the instance that we have deployed on the VM.
Use apps to list all installed applications. The one with asterisk sign indicates that it is activated (running).
Code Block | ||
---|---|---|
| ||
onos> |
...
apps id=1, name=org.onosproject.bgprouter, version=1.2.0 ... |
...
id=2, name=org.onosproject.config, version=1.2.0 ... |
...
id=3, name=org.onosproject.demo, version=1.2.0 ... |
...
* id=4, name=org.onosproject.drivers, version=1.2.0 ... |
...
id=5, name=org.onosproject.election, version=1.2.0 ... |
...
* id=6, name=org.onosproject.fwd, version=1.2.0 ... |
...
id=7, name=org.onosproject.intentperf, version=1.2.0 ... |
...
id=8, name=org.onosproject.metrics, version=1.2.0 ... |
...
* id=9, name=org.onosproject.mobility, version=1.2.0 ... |
...
id=10, name=org.onosproject.null, version=1.2.0 ... |
...
* id=11, name=org.onosproject.openflow, version=1.2.0 ... |
...
id=12, name=org.onosproject.optical, version=1.2.0 ... |
...
* id=13, name=org.onosproject.proxyarp, version=1.2.0 ... |
...
id=14, name=org.onosproject.routing, version=1.2.0 ... |
...
id=15, name=org.onosproject.sdnip, version=1.2.0 ... |
...
id=16, name=org.onosproject.segmentrouting, version=1.2.0 ... onos> |
...
Note that there will be many more modules than you have configured - these are part of the ONOS OpenFlow and core components. Refer to Appendix C : Source Tree Organization to see descriptions of the modules.
...
OS X manages daemons using launchd/launchctl, which onos-install doesn't currently support, so we need to specify "nostart" (-n):
Code Block | ||
---|---|---|
| ||
onos-install -fn |
...
$OC1 |
and start ONOS manually using
Code Block | ||
---|---|---|
| ||
/opt/onos/apache-karaf-$KARAF_VERSION/bin/karaf clean |
What’s next?
- Now that you've got the basics of a development environment, try a hand at creating an application in the Template Application Tutorial.
- Learn more about the installation process in Installing and Running ONOS.
- Learn more about cells in Test Environment Setup.
...