Versions Compared

Key

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

...

You can change it by passing in a new option to mn or to ONOSCluster():

 

Code Block
languagebash
sudo mn --custom onos.py --controller onos,3,ipBase=172.1.2.0/24 --topo tree,3,3

How can I connect to the ONOS console from the mininet-onos> prompt?

Code Block
mininet-onos> onos

press control-D to return to the mininet-onos> prompt.

...

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

Code Block
mininet-onos> onos:apps

...


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:".

...