Versions Compared

Key

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

...

2. Launch a Mininet test network.

Launch a small Mininet network with four hosts, pointing at our ONOS instance (192.168.56.20 in this example):

Code Block
languagetext
$ sudo mn --topo=tree,2,2 --controller=remote,ip=192.168.56.20 --mac
*** Creating network
...
mininet>

Your ONOS instance should see four hosts:

Code Block
languagetext
onos> hosts
id=00:00:00:00:00:01/-1, mac=00:00:00:00:00:01, location=of:0000000000000002/1, vlan=-1, ip(s)=[]
id=00:00:00:00:00:02/-1, mac=00:00:00:00:00:02, location=of:0000000000000002/2, vlan=-1, ip(s)=[]
id=00:00:00:00:00:03/-1, mac=00:00:00:00:00:03, location=of:0000000000000003/1, vlan=-1, ip(s)=[]
id=00:00:00:00:00:04/-1, mac=00:00:00:00:00:04, location=of:0000000000000003/2, vlan=-1, ip(s)=[]

3. Test out the command.

 

...