示例#1
0
 def __init__(self, host, login, passwd, conn, nwfiltername):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.nwfilter = self.get_nwfilter(nwfiltername)
示例#2
0
 def __init__(self, host, login, passwd, conn, pool):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.pool = self.get_storage(pool)
示例#3
0
 def __init__(self, host, login, passwd, conn, vname):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.instance = self.wvm.lookupByName(vname)
示例#4
0
 def __init__(self, host, login, passwd, conn, hypervisor, pool):
     wvmConnect.__init__(self, host, login, passwd, conn, hypervisor)
     self.pool = self.get_storage(pool)
示例#5
0
 def __init__(self, host, login, passwd, conn, vname):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.instance = self.wvm.lookupByName(vname)
示例#6
0
 def __init__(self, host, login, passwd, conn, net):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.leases = None
     self.net = self.get_network(net)
     self.parent_count = len(self.get_ip_networks())
示例#7
0
 def __init__(self, host, login, passwd, conn, iface):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.iface = self.get_iface(iface)
示例#8
0
 def __init__(self, host, login, passwd, conn, net):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.net = self.wvm.networkLookupByName(net)
示例#9
0
 def __init__(self, host, login, passwd, conn, net):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.net = self.get_network(net)
示例#10
0
 def __init__(self, host, login, passwd, conn, net):
      wvmConnect.__init__(self, host, login, passwd, conn)
      self.net = self.wvm.networkLookupByName(net)
示例#11
0
 def __init__(self, host, login, passwd, conn, vname):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.instance = self.get_instance(vname)
     self.name = vname
     global log
     log = logging.getLogger("BackupLogs")
示例#12
0
 def __init__(self, host, login, passwd, conn, pool):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.pool = self.wvm.storagePoolLookupByName(pool)
示例#13
0
 def __init__(self, host, login, passwd, conn, net):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.net = self.get_network(net)
示例#14
0
 def __init__(self, host, login, passwd, conn, pool):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.pool = self.wvm.storagePoolLookupByName(pool)
示例#15
0
 def __init__(self, host, login, passwd, conn, vname):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.instance = self.get_instance(vname)
示例#16
0
 def __init__(self, host, login, passwd, conn, hypervisor, iface):
     wvmConnect.__init__(self, host, login, passwd, conn, hypervisor)
     self.iface = self.get_iface(iface)
示例#17
0
 def __init__(self, host, login, passwd, conn, vname):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.instance = self.get_instance(vname)
示例#18
0
 def __init__(self, host, login, passwd, conn, nwfiltername):
     wvmConnect.__init__(self, host, login, passwd, conn)
     self.nwfilter = self.get_nwfilter(nwfiltername)