Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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 )
Ejemplo n.º 3
0
 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)