| Trees | Index | Help |
|
|---|
| Package Products :: Package ZenUtils :: Module ZCmdBase :: Class ZCmdBase |
|
CmdBase--+ |ZenDaemon--+ | ZCmdBase
BasicLoader,
BatchDeviceLoader,
DevicePopulator,
EventServer,
EventServer,
ExportDevices,
ExportRM,
FixIps,
ImportDevices,
ImportRM,
ImportRM,
UpdateStep,
ZenActions,
zenmib,
ZenModeler,
ZenPing,
ZPropRmLocal| Method Summary | |
|---|---|
__init__(self,
noopts,
app,
keeproot)
| |
basic options setup sub classes can add more options here | |
Close all connections in both free an inuse pools. | |
closedb(self)
| |
return a device based on its FQDN | |
Return a wrapped app connection from the connection pool. | |
getContext(self,
app)
| |
getDataRoot(self)
| |
return an object based on a path starting from the dmd | |
Logs in. | |
Logs out. | |
opendb(self)
| |
syncdb(self)
| |
zeoConnect(self)
| |
Inherited from ZenDaemon:
becomeDaemon,
changeUser,
setupLogging,
sigTerm
Inherited from CmdBase:
buildParser,
parseOptions
| |
| Class Variable Summary | |
|---|---|
Inherited from ZenDaemon:
pidfile
Inherited from CmdBase:
doesLogging
|
| Method Details |
|---|
buildOptions(self)basic options setup sub classes can add more options here |
closeAll(self)Close all connections in both free an inuse pools. |
findDevice(self, name)return a device based on its FQDN |
getConnection(self)Return a wrapped app connection from the connection pool. |
getDmdObj(self, path)return an object based on a path starting from the dmd |
login(self, name='admin', userfolder=None)Logs in. |
logout(self)Logs out. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |