Versions Compared

Key

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

...

                                 ------------------+(docker)

                                  10                                    172.10017.1980.201 2 eth0


5. Therefore, onos-1 should be assigned another IP say 10.10.10.3 and ~/sdnip/configs/quagga-sdn.conf should be changed accordingly:

...

$ docker network create --subnet 10.10.10.0/24 --ip-range 10.10.10.0/24 --gateway 10.10.10.2 sdnip

7. Note name of docker bridge created:

$ sudo brctl show
bridge name bridge id STP enabled interfaces
br-fb2a5d5b6f8e 8000.02428d00da0a no veth71fb89a
docker0 8000.024231751c7f no veth1289400
veth46bdbff
veth8b25d1d
veth8c5706a
vethad2fb3e
vethbb09655

...

$ sudo mn --custom /home/sdn/sdnip/tutorial.py --topo sdnip --controller remote,172.17.0.5 2 --nolistenport

11. Add network interface of Mininet host root to docker bridge:

...

$ curl --user onos:rocks -X POST -H "Content-Type: application/json" http://172.17.0.52:8181/onos/v1/network/configuration/ -d @/home/sdn/sdnip/configs/network-cfg.json

...