Revision 089e8130 mininet/net.py

View differences:

mininet/net.py
220 220
            return self.nameToNode[ args[ 0 ] ]
221 221
        return [ self.nameToNode[ n ] for n in args ]
222 222

  
223
    def get( self, *args ):
224
        "Convenience alias for getNodeByName"
225
        return self.getNodeByName( *args )
226

  
223 227
    def addLink( self, node1, node2, port1=None, port2=None,
224 228
                 cls=None, **params ):
225 229
        """"Add a link from node1 to node2

Also available in: Unified diff