...
How can I look at the karaf log file for (which usually contains ONOS's log messages) for onos1?
From the mininet-onos>
prompt: onos log:display
mininet-onos> onos log:tail # hit control-c to quit
mininet-onos> sh tail /tmp/onos1/log
From a shell prompt:
$ tail /tmp/onos1/log
The first few methods work when you are at the mininet-onos>
prompt. The last one is for when you are at a shell prompt.
How can I look at the onos-service
log file (which usually doesn't contain much of anything unless there are errors starting karaf) for onos1?
mininet-onos> sh tail -f /tmp/onos1/onos.log
$ tail -f /tmp/onos1/onos.log
Can I ssh
into the ONOS cluster?
Not directly with this version of onos.py
, since the nodes are not running ssh
by default. However, if
If you have a Mininet source tree, you can attach to it using mininet/util/m
:
$ ~/mininet/util/mn 192.168.123.1
...
mininet-onos> onos1 ifconfig
And you can also start up a new shell (use exit
or control-d
to exit):
mininet-onos> onos1 bash
Can I use the onos-*
scripts from tools/test/bin with this environment?
...