def addIntf(self, intf, rename=False, **kwargs): "Add (and reparent) an interface" print 'add interface **', intf OVSSwitch.addIntf(self, intf, **kwargs) intf.node = self if rename: self.renameIntf(intf)
def addIntf( self, intf, rename=False, **kwargs ): "Add (and reparent) an interface" OVSSwitch.addIntf( self, intf, **kwargs ) intf.node = self if rename: self.renameIntf( intf )
def addIntf(self, intf, rename=False, newname='', **kwargs): "Add (and reparent) an interface" OVSSwitch.addIntf(self, intf, **kwargs) intf.node = self if rename: self.renameIntf(intf, newname=newname)