Skip to content
Snippets Groups Projects
Commit 6b8d3538 authored by Brian O'Connor's avatar Brian O'Connor
Browse files

adding comment to VLANStarTopo in vlanhost.py

parent 05f3fbae
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,12 @@ def exampleAllHosts( vlan ):
net.stop()
class VLANStarTopo( Topo ):
"""Example topology that uses host in multiple VLANs"""
"""Example topology that uses host in multiple VLANs
The topology has a single switch. There are k VLANs with
n hosts in each, all connected to the single switch. There
are also n hosts that are not in any VLAN, also connected to
the switch."""
def build( self, k=2, n=2, vlanBase=100 ):
s1 = self.addSwitch( 's1' )
......
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