Support more topologies

This commit is contained in:
Brandon Heller
2010-01-03 02:44:08 -08:00
parent ac65ea3ff3
commit c98514ae44
3 changed files with 42 additions and 27 deletions
+2 -2
View File
@@ -87,9 +87,9 @@ class TreeTopo(StructuredTopo):
self.enable_all()
def port(self, src, dst):
'''Get port number (optional)
'''Get port number
Note that the topological significance of DPIDs in FatTreeTopo enables
Note that the topological significance of DPIDs enables
this function to be implemented statelessly.
@param src source switch DPID