MCPcopy Create free account
hub / github.com/mininet/mininet / runMultiLink

Function runMultiLink

examples/multilink.py:13–19  ·  view source on GitHub ↗

Create and run multiple link network

()

Source from the content-addressed store, hash-verified

11from mininet.topo import Topo
12
13def 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
21class simpleMultiLinkTopo( Topo ):
22 "Simple topology with multiple links"

Callers 1

multilink.pyFile · 0.85

Calls 5

startMethod · 0.95
stopMethod · 0.95
MininetClass · 0.90
CLIClass · 0.90
simpleMultiLinkTopoClass · 0.85

Tested by

no test coverage detected