Skip to content
Snippets Groups Projects
Commit 509a852f authored by Brandon Heller's avatar Brandon Heller
Browse files

Add TreeTopo to cmd line

parent 3eb5abe6
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ from mininet.net import Mininet, init
from mininet.node import KernelSwitch, Host, Controller, ControllerParams, NOX
from mininet.node import RemoteController, UserSwitch, OVSKernelSwitch
from mininet.topo import SingleSwitchTopo, LinearTopo, SingleSwitchReversedTopo
from mininet.topolib import TreeTopo
from mininet.util import makeNumeric
# built in topologies, created only when run
......@@ -29,7 +30,8 @@ TOPODEF = 'minimal'
TOPOS = { 'minimal': lambda: SingleSwitchTopo( k=2 ),
'linear': LinearTopo,
'reversed': SingleSwitchReversedTopo,
'single': SingleSwitchTopo }
'single': SingleSwitchTopo,
'tree': TreeTopo }
SWITCHDEF = 'kernel'
SWITCHES = { 'kernel': KernelSwitch,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment