Revision 4e1630e1

View differences:

mininet/topo.py
40 40
            for dest in self.data[ src ]:
41 41
                yield ( src, dest )
42 42

  
43
    def __getitem__( self, node ):
44
        "Return link dict for the given node"
45
        return self.data[node]
46

  
43 47

  
44 48
class Topo(object):
45 49
    "Data center network representation for structured multi-trees."

Also available in: Unified diff