Create and run multiple link network
()
| 11 | from mininet.topo import Topo |
| 12 | |
| 13 | def runMultiLink(): |
| 14 | "Create and run multiple link network" |
| 15 | topo = simpleMultiLinkTopo( n=2 ) |
| 16 | net = Mininet( topo=topo, waitConnected=True ) |
| 17 | net.start() |
| 18 | CLI( net ) |
| 19 | net.stop() |
| 20 | |
| 21 | class simpleMultiLinkTopo( Topo ): |
| 22 | "Simple topology with multiple links" |
no test coverage detected