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

Class ImportDevices

CmdBase --+        
          |        
  ZenDaemon --+    
              |    
       ZCmdBase --+
                  |
                 ImportDevices


Method Summary
  buildOptions(self)
basic options setup sub classes can add more options here
  commit(self)
  getDevicePath(self, device)
  handleDevices(self)
  loadDatabase(self)
The default behavior of loadObjectFromXML() will be to use the Zope app object, and thus operatate on the whole of Zenoss.
  loadObjectFromXML(self, objstack, 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).
  processLinks(self, device)
Inherited from ZCmdBase: __init__, closeAll, closedb, findDevice, getConnection, getContext, getDataRoot, getDmdObj, login, logout, opendb, syncdb, zeoConnect
Inherited from ZenDaemon: becomeDaemon, changeUser, setupLogging, sigTerm
Inherited from CmdBase: buildParser, parseOptions

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

Method Details

buildOptions(self)

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

loadDatabase(self)

The default behavior of loadObjectFromXML() will be to use the Zope app object, and thus operatate on the whole of Zenoss.

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).

Upon loading the XML file to be processed, the content of the XML file is handled (processed) by the methods in this class.

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