Revision 9db6cdc2 mininet/link.py

View differences:

mininet/link.py
465 465
    def delete( self ):
466 466
        "Delete this link"
467 467
        self.intf1.delete()
468
        # We only need to delete one side, but this doesn't seem to
469
        # cost us anything and may help subclasses.
470
        self.intf2.delete()
468
        # We only need to delete one side, though this doesn't seem to
469
        # cost us much and might help subclasses.
470
        # self.intf2.delete()
471 471

  
472 472
    def stop( self ):
473 473
        "Override to stop and clean up link as needed"
474
        pass
474
        self.delete()
475 475

  
476 476
    def status( self ):
477 477
        "Return link status as a string"

Also available in: Unified diff