def TreeNet(depth=1, fanout=2, **kwargs):
 topo = TreeTopo(depth, fanout)
 return Mininet(topo, **kwargs)

def TreeNet ( depth = 1 , fanout = 2 , ** kwargs ) : topo = TreeTopo ( depth , fanout ) return Mininet ( topo , ** kwargs )
convenience function for creating tree networks .