...
After ONOS starts up and the switches connect, you should see the a customized mininet CLI prompt:
mininet>mininet-onos>
At this point, you can enter mininet commands like pingall
(all-to-all ping test) and help
(find out about Mininet CLI commands.)
You can also enter ONOS commands like onos:apps
or onos:balance-masters
and they should be invoked via the karaf client command on onos1
.
To exit Mininet, use the exit command or press control-D
.
...
ONOSCluster
takes an ipBase
option; default is 192.168.123.0/24
How can I connect to the ONOS console from the mininet-onos>
prompt?
mininet-onos> onos
press control-D to exit.
How can I run ONOS/karaf CLI commands from the mininet-onos> prompt?
There are several ways of doing it. Here are three ways of invoking the onos:apps
command:
mininet-onos> onos:apps
mininet-onos> onos :apps
mininet-onos> onos1 client onos:apps
How can I connect to the ONOS console from a shell/bash prompt?
Make sure karaf's bin
directory is in your path, then:
...