From 6b8d3538efa1b5714f33ee95a5aa953dfd0a7b0a Mon Sep 17 00:00:00 2001 From: Brian O'Connor <bocon@onlab.us> Date: Thu, 28 Aug 2014 05:57:10 -0700 Subject: [PATCH] adding comment to VLANStarTopo in vlanhost.py --- examples/vlanhost.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/vlanhost.py b/examples/vlanhost.py index a9174029..00f63690 100755 --- a/examples/vlanhost.py +++ b/examples/vlanhost.py @@ -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' ) -- GitLab