Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
How are IP addresses of the ONOS cluster specified?
ONOSCluster
takes --controller onos
and ONOSCluster()
take an ipBase
option; the default is 192.168.123.0/24
You can change it by passing in a new option to mn
or to ONOSCluster()
:
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?
...
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.
...
$ tail -f /tmp/onos1/onos.log
How can I change the IP address range of the ONOS cluster?
Add an ipBase
option to the --controller onos
parameters:
sudo mn --custom onos.py --controller onos,3,ipBase=172.1.2.0/24 --topo tree,3,3
Can I ssh
into the ONOS cluster?
...