Revision 554abdd5

View differences:

mininet/node.py
888 888

  
889 889
    def connected( self ):
890 890
        "Is the switch connected to a controller? (override this method)"
891
        warn( "Warning: connected() needs to be implemented in"
892
              " Switch subclass %s\n" % self.__class__ )
891
        # Assume that we are connected by default to whatever we need to
892
        # be connected to. This should be overridden by any OpenFlow
893
        # switch, but not by a standalone bridge.
894
        debug( 'Assuming', repr( self ), 'is connected to a controller\n' )
893 895
        return True
894 896

  
895 897
    def __repr__( self ):
......
1219 1221

  
1220 1222

  
1221 1223
class IVSSwitch( Switch ):
1222
    """IVS virtual switch"""
1224
    "Indigo Virtual Switch"
1223 1225

  
1224 1226
    def __init__( self, name, verbose=False, **kwargs ):
1225 1227
        Switch.__init__( self, name, **kwargs )

Also available in: Unified diff