|
__init__(self,
noopts=0,
app=None,
keeproot=False)
Initializer that takes care of basic daemon options. |
source code
|
|
|
|
|
login(self,
name='admin',
userfolder=None)
Logs in. |
source code
|
|
|
|
|
getConnection(self)
Return a wrapped app connection from the connection pool. |
source code
|
|
|
closeAll(self)
Close all connections in both free an inuse pools. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
getDmdObj(self,
path)
return an object based on a path starting from the dmd |
source code
|
|
|
findDevice(self,
name)
return a device based on its FQDN |
source code
|
|
|
|
|
|
Inherited from ZenDaemon.ZenDaemon :
becomeDaemon ,
becomeWatchdog ,
changeUser ,
convertSocketOption ,
logname ,
niceDoggie ,
openPrivilegedPort ,
setupLogging ,
sighandler_USR1 ,
watchdogCycleTime ,
watchdogMaxRestartTime ,
watchdogStartTimeout ,
writePidFile
Inherited from CmdBase.CmdBase :
buildParser ,
checkLogpath ,
generate_configs ,
generate_xml_configs ,
generate_xml_table ,
getConfigFileDefaults ,
getGlobalConfigFileDefaults ,
getParamatersFromConfig ,
loadConfigFile ,
parseOptions ,
pretty_print_config_comment ,
validateConfigFile
|