Versions Compared

Key

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

...

3. Check the following requirements and adjust as required before running tutorial.py :
   a. run directory /var/run/quagga exists
   b. binary of zebra and bgpd installed under /usr/lib/quagga

4. Click desktop icon "Setup ONOS Cluster" and note the IP of onos-1:

onos> summary

node=172.17.0.2, version=1.15.0 clusterId=onos

nodes=3, devices=0, links=0, hosts=0, SCC(s)=1, flows=0, intents=0

5. To peer Mininet host root 10.10.10.2 with docker onos-1, the following network setup needs to could be configured:

           bgp eth1 10.10.10.1        10.10.10.2 eth0 root

...

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

                                  10                                    172.10017.1980.201 2 eth0

5. Therefore, onos-1 should needs to 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

...