...
Its time to try out a mininet topology with mininet pointing at the OpenDaylight Controller running inside a docker image.
Code Block | ||
---|---|---|
| ||
[root@localhost ~] $ mn --mac --switch=ovsk,protocols=OpenFlow13 --controller=remote,ip=172.17.0.8,port=6653 --topo=tree,3
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2 h3 h4 h5 h6 h7 h8
*** Adding switches:
s1 s2 s3 s4 s5 s6 s7
*** Adding links:
(s1, s2) (s1, s5) (s2, s3) (s2, s4) (s3, h1) (s3, h2) (s4, h3) (s4, h4) (s5, s6) (s5, s7) (s6, h5) (s6, h6) (s7, h7) (s7, h8)
*** Configuring hosts
h1 h2 h3 h4 h5 h6 h7 h8
*** Starting controller
c0
*** Starting 7 switches
s1 s2 s3 s4 s5 s6 s7
*** Starting CLI:
mininet>
|
Visit the console to make sure the topology is recognized.