Revision 574d634f mininet/link.py

View differences:

mininet/link.py
197 197
    def delete( self ):
198 198
        "Delete interface"
199 199
        self.cmd( 'ip link del ' + self.name )
200
        if self.node.inNamespace:
201
            # Link may have been dumped into root NS
202
            quietRun( 'ip link del ' + self.name )
200
        # We used to do this, but it slows us down:
201
        # if self.node.inNamespace:
202
        # Link may have been dumped into root NS
203
        # quietRun( 'ip link del ' + self.name )
203 204

  
204 205
    def status( self ):
205 206
        "Return intf status as a string"

Also available in: Unified diff