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

# Class BasicLoader

source code

         object --+
                  |
    CmdBase.CmdBase --+
                      |
    ZenDaemon.ZenDaemon --+
                          |
          ZCmdBase.ZCmdBase --+
                              |
                             BasicLoader

Load a machine

Instance Methods | [hide private]
__init__(self, noopts=0, app=None, ignoreComments=True) Handle command line options, get app instance,and setup log file | source code
setfields(self, fieldnames, line, delimiter='|') | source code
loadDatabase(self) do the load | source code
buildOptions(self) basic options setup sub classes can add more options here | source code
parseOptions(self) Uses the optparse parse previously populated and performs common options. | source code
Inherited from `ZCmdBase.ZCmdBase`: `closeAll`, `closedb`, `findDevice`, `getConnection`, `getContext`, `getDataRoot`, `getDmdObj`, `login`, `logout`, `opendb`, `sigTerm`, `syncdb`, `zeoConnect` Inherited from `ZenDaemon.ZenDaemon`: `becomeDaemon`, `becomeWatchdog`, `changeUser`, `niceDoggie`, `openPrivilegedPort`, `setupLogging`, `sighandler_USR1`, `watchdogCycleTime`, `watchdogMaxRestartTime`, `watchdogStartTimeout`, `writePidFile` Inherited from `CmdBase.CmdBase`: `buildParser`, `checkLogpath`, `generate_configs`, `generate_xml_configs`, `generate_xml_table`, `getConfigFileDefaults`, `pretty_print_config_comment` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]
Inherited from `ZenDaemon.ZenDaemon`: `pidfile` Inherited from `CmdBase.CmdBase`: `doesLogging`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, noopts=0, app=None, ignoreComments=True) (Constructor) | source code
Handle command line options, get app instance,and setup log file Overrides: ZCmdBase.ZCmdBase.__init__

### buildOptions(self) | source code
basic options setup sub classes can add more options here Overrides: ZCmdBase.ZCmdBase.buildOptions (inherited documentation)

### parseOptions(self) | source code
Uses the optparse parse previously populated and performs common options. Overrides: CmdBase.CmdBase.parseOptions (inherited documentation)