Revision 6cb68f26 mininet/topo.py

View differences:

mininet/topo.py
318 318
                          port1=0, port2=( k - h + 1 ) )
319 319

  
320 320

  
321
class MinimalTopo( SingleSwitchTopo ):
322
    "Minimal topology with two hosts and one switch"
323
    def build( self ):
324
        return SingleSwitchTopo.build( self, k=2 )
325

  
326

  
321 327
class LinearTopo( Topo ):
322 328
    "Linear topology of k switches, with n hosts per switch."
323 329

  

Also available in: Unified diff