def __init__(self, name, ipaddress, port, configFileDir): CMDBSubObject.__init__(self) self.name = name self.ipaddress = ipaddress self.port = port self.configFileDir = configFileDir if not q.system.fs.isDir(self.configFileDir): q.system.fs.createDir(self.configFileDir)
def __init__(self, username, passwd, right=PostgresqlAccessRightType.READ, fromIp=None, toIp=None, netIp=None, netMask=None): CMDBSubObject.__init__(self) self.userName = username self.right = right self.passwd = passwd self.fromIp = fromIp self.toIp = toIp self.netIp = netIp self.netMask = netMask
def __init__(self, name, ipaddress, port, configFileDir): CMDBSubObject.__init__(self) self.name = name self.ipaddress = ipaddress self.port = port self.configFileDir = configFileDir self.rootDir = q.system.fs.joinPaths(self.sitesDir, name) if not q.system.fs.isDir(self.configFileDir): q.system.fs.createDir(self.configFileDir) if not q.system.fs.isDir(self.symlinkDir): q.system.fs.createDir(self.symlinkDir)
def __init__(self, name, location): CMDBSubObject.__init__(self) self.name = name self.location = location self.authRequired = True
def __init__(self, name, owner=None): CMDBSubObject.__init__(self) self.name = name self.owner = owner
def __init__(self, username, passwd, right): CMDBSubObject.__init__(self) self.userName = username self.passwd = passwd self.right = right
def __init__(self, name): CMDBSubObject.__init__(self) self.name = name
def __init__(self, name, location): CMDBSubObject.__init__(self) self.name = name self.location = location
def __init__(self, address, port): CMDBSubObject.__init__(self) self.address = address self.port = port
def __init__(self,name): CMDBSubObject.__init__(self) self.name = name