Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are several ways of doing it - you can use the one which works best for you. Here are three four equivalent ways of invoking the onos:apps command:

...

mininet-onos> onos :apps
mininet-onos> onos onos:apps
mininet-onos> onos1 client onos:apps

The first two methods can be used for executing any commands that begin with "onos:".

The last two methods can be used to execute any karaf command.

The final method can be used to run client on a specific ONOS instance (and connect to that instance.)

How can I connect to the ONOS console from a shell/bash prompt?

Make sure karaf'bin directory s bin directory is in your path, then:

client -h 192.168.123.1   # or the address of the ONOS node you wish to connect to  

...