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

Class BasicLoader

CmdBase --+        
          |        
  ZenDaemon --+    
              |    
       ZCmdBase --+
                  |
                 BasicLoader

Known Subclasses:
CiscoLoader, cmdDeviceLoader, IpServiceLoader

Load a machine
Method Summary
  __init__(self, noopts, app, ignoreComments)
Handle command line options, get app instance,and setup log file
  buildOptions(self)
basic options setup sub classes can add more options here
  loadDatabase(self)
do the load
  parseOptions(self)
  setfields(self, fieldnames, line, delimiter)
Inherited from ZCmdBase: closeAll, closedb, findDevice, getConnection, getContext, getDataRoot, getDmdObj, login, logout, opendb, syncdb, zeoConnect
Inherited from ZenDaemon: becomeDaemon, changeUser, setupLogging, sigTerm
Inherited from CmdBase: buildParser

Class Variable Summary
Inherited from ZenDaemon: pidfile
Inherited from CmdBase: doesLogging

Method Details

__init__(self, noopts=0, app=None, ignoreComments=True)
(Constructor)

Handle command line options, get app instance,and setup log file
Overrides:
Products.ZenUtils.ZCmdBase.ZCmdBase.__init__

buildOptions(self)

basic options setup sub classes can add more options here
Overrides:
Products.ZenUtils.ZCmdBase.ZCmdBase.buildOptions (inherited documentation)

loadDatabase(self)

do the load

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