Fix TorusTopo for UserSwitch
UserSwitch requires a 12-digit dpid.
Adding number of hosts per switch option to torus topo
Spacing tweaks for pep8 checker
Change from numeric to symbolic pylint error codes
Fixing pylint errors
Remove trailing whitespace. ;-/
Merge pull request #333 from mininet/devel/buildtopo
Clean up standard topologies to use build
Hack to avoid failing version check... ;-/
Added TorusTopo, a 2D torus topology
rename Topo() methods for consistency: add_node() -> addNode()
Attempt at revised/simplified topo class:
- keys are strings- metadata is simply a dict- buildFromTopo greatly simplified
Re-added TreeNet convenience function.
Restored numbering of tree nodes.
Moved TreeNet() convenience function here.
Changed TreeTopo() to number hosts from h1 to hN.
Added two spaces before in-line # comments.
Removed underscores for public Node methods. Minor cleanup & comments.
Added mininet.topolib to store useful topologies.