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
Example #3
0
 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)
Example #4
0
 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
Example #6
0
 def __init__(self, username, passwd, right):
     CMDBSubObject.__init__(self)
     self.userName = username
     self.passwd = passwd
     self.right = right
Example #7
0
 def __init__(self, name, location):
     CMDBSubObject.__init__(self)
     self.name = name
     self.location = location
     self.authRequired = True
Example #8
0
 def __init__(self, name):
     CMDBSubObject.__init__(self)
     self.name = name
Example #9
0
 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
Example #11
0
 def __init__(self, name, owner=None):
     CMDBSubObject.__init__(self)
     self.name = name
     self.owner = owner
Example #12
0
 def __init__(self, name, location):
     CMDBSubObject.__init__(self)
     self.name = name
     self.location = location
Example #13
0
 def __init__(self,name):
     CMDBSubObject.__init__(self)
     self.name = name