Revision 6b8d3538

View differences:

examples/vlanhost.py
68 68
    net.stop()
69 69

  
70 70
class VLANStarTopo( Topo ):
71
    """Example topology that uses host in multiple VLANs"""
71
    """Example topology that uses host in multiple VLANs
72

  
73
       The topology has a single switch. There are k VLANs with
74
       n hosts in each, all connected to the single switch. There
75
       are also n hosts that are not in any VLAN, also connected to
76
       the switch."""
72 77

  
73 78
    def build( self, k=2, n=2, vlanBase=100 ):
74 79
        s1 = self.addSwitch( 's1' )

Also available in: Unified diff