Package ZenModel :: Module CmdDeviceLoader :: Class cmdDeviceLoader
[hide private]
[frames] | no frames]

Class cmdDeviceLoader

source code

Products.ZenUtils.CmdBase.CmdBase --+            
                                    |            
Products.ZenUtils.ZenDaemon.ZenDaemon --+        
                                        |        
      Products.ZenUtils.ZCmdBase.ZCmdBase --+    
                                            |    
    Products.ZenUtils.BasicLoader.BasicLoader --+
                                                |
          BasicDeviceLoader.BasicDeviceLoader --+
                                                |
                                               cmdDeviceLoader

Instance Methods [hide private]
 
__init__(self)
Handle command line options, get app instance,and setup log file
source code
 
loaderBody(self, line)
loader body override to customize what will load
source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code

Inherited from Products.ZenUtils.BasicLoader.BasicLoader: loadDatabase, parseOptions, setfields

Inherited from Products.ZenUtils.ZCmdBase.ZCmdBase: closeAll, closedb, findDevice, getConnection, getContext, getDataRoot, getDmdObj, login, logout, opendb, syncdb, zeoConnect

Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon: becomeDaemon, changeUser, setupLogging, sigTerm

Inherited from Products.ZenUtils.CmdBase.CmdBase: buildParser, generate_configs, generate_xml_table, pretty_print_config_comment

Inherited from BasicDeviceLoader.BasicDeviceLoader: getDevice, getGroupPath, getLocationPath, getPerformanceMonitorName, getStatusMonitorName, getSystemPath, loadDevice

Class Variables [hide private]

Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon: pidfile

Inherited from Products.ZenUtils.CmdBase.CmdBase: doesLogging

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Handle command line options, get app instance,and setup log file
Overrides: Products.ZenUtils.BasicLoader.BasicLoader.__init__
(inherited documentation)

buildOptions(self)

source code 
basic options setup sub classes can add more options here
Overrides: Products.ZenUtils.BasicLoader.BasicLoader.buildOptions