Package Products :: Package ZenRelations :: Module ImportDevices :: Class ImportDevices |
[hide private]
[frames] | no frames]

# Class ImportDevices

source code

                  object --+
                           |
    ZenUtils.CmdBase.CmdBase --+
                               |
    ZenUtils.ZenDaemon.ZenDaemon --+
                                   |
          ZenUtils.ZCmdBase.ZCmdBase --+
                                       |
                                      ImportDevices

Instance Methods | [hide private]
getDevicePath(self, device) | source code
processLinks(self, device) | source code
handleDevices(self) | source code
buildOptions(self) basic options setup sub classes can add more options here | source code
loadObjectFromXML(self, objstack=None, xmlfile='') This method can be used to load data for the root of Zenoss (default behavior) or it can be used to operate on a specific point in the Zenoss hierarchy (ZODB). | source code
loadDatabase(self) The default behavior of loadObjectFromXML() will be to use the Zope app object, and thus operatate on the whole of Zenoss. | source code
commit(self) | source code
Inherited from `ZenUtils.ZCmdBase.ZCmdBase`: `__init__`, `closeAll`, `closedb`, `findDevice`, `getConnection`, `getContext`, `getDataRoot`, `getDmdObj`, `login`, `logout`, `opendb`, `sigTerm`, `syncdb`, `zodbConnect` Inherited from `ZenUtils.ZenDaemon.ZenDaemon`: `audit`, `becomeDaemon`, `becomeWatchdog`, `changeUser`, `convertSocketOption`, `logname`, `niceDoggie`, `openPrivilegedPort`, `setupLogging`, `sighandler_USR1`, `watchdogCycleTime`, `watchdogMaxRestartTime`, `watchdogStartTimeout`, `writePidFile` Inherited from `ZenUtils.ZenDaemon.ZenDaemon` (private): `_sigUSR1_called` Inherited from `ZenUtils.CmdBase.CmdBase`: `buildParser`, `checkLogpath`, `generate_configs`, `generate_xml_configs`, `generate_xml_table`, `getConfigFileDefaults`, `getGlobalConfigFileDefaults`, `getParamatersFromConfig`, `loadConfigFile`, `parseOptions`, `pretty_print_config_comment`, `validateConfigFile`

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

Method Details | [hide private]

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

### loadObjectFromXML(self, objstack=None, xmlfile='') | source code
This method can be used to load data for the root of Zenoss (default behavior) or it can be used to operate on a specific point in the Zenoss hierarchy (ZODB). Upon loading the XML file to be processed, the content of the XML file is handled (processed) by the methods in this class.