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`, `zeoConnect` Inherited from `ZenUtils.ZenDaemon.ZenDaemon`: `becomeDaemon`, `becomeWatchdog`, `changeUser`, `niceDoggie`, `openPrivilegedPort`, `setupLogging`, `sighandler_USR1`, `watchdogCycleTime`, `watchdogMaxRestartTime`, `watchdogStartTimeout`, `writePidFile` Inherited from `ZenUtils.CmdBase.CmdBase`: `buildParser`, `checkLogpath`, `generate_configs`, `generate_xml_configs`, `generate_xml_table`, `getConfigFileDefaults`, `parseOptions`, `pretty_print_config_comment` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

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

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

Method Details | [hide private]

### buildOptions(self) | source code
basic options setup sub classes can add more options here Overrides: ZenUtils.ZCmdBase.ZCmdBase.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.