Package Products :: Package ZenUtils :: Module ZCmdBase :: Class ZCmdBase
[show private | hide private]
[frames | no frames]

Class ZCmdBase

CmdBase --+    
          |    
  ZenDaemon --+
              |
             ZCmdBase

Known Subclasses:
BasicLoader, BatchDeviceLoader, DevicePopulator, EventServer, EventServer, ExportDevices, ExportRM, FixIps, ImportDevices, ImportRM, ImportRM, UpdateStep, ZenActions, zenmib, ZenModeler, ZenPing, ZPropRmLocal

Method Summary
  __init__(self, noopts, app, keeproot)
  buildOptions(self)
basic options setup sub classes can add more options here
  closeAll(self)
Close all connections in both free an inuse pools.
  closedb(self)
  findDevice(self, name)
return a device based on its FQDN
  getConnection(self)
Return a wrapped app connection from the connection pool.
  getContext(self, app)
  getDataRoot(self)
  getDmdObj(self, path)
return an object based on a path starting from the dmd
  login(self, name, userfolder)
Logs in.
  logout(self)
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
Overrides:
Products.ZenUtils.ZenDaemon.ZenDaemon.buildOptions

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.

Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 http://epydoc.sf.net