Package ZenModel :: Package tests :: Module devicePopulator :: Class DevicePopulator
[show private | hide private]
[frames | no frames]

Class DevicePopulator

CmdBase --+        
          |        
  ZenDaemon --+    
              |    
       ZCmdBase --+
                  |
                 DevicePopulator


Method Summary
  __init__(self)
  buildDevicesEverywhere(self)
Create a test device in each event class
  buildOptions(self)
basic options setup sub classes can add more options here
  buildTestDevice(self, name, dClass)
  getDeviceClass(self, name, parent)
Return the test device class, creating it if necessary
  getGroup(self, name, parent)
Return the test group, creating it if necessary
  getLocation(self, name, parent)
Return the test location, creating it if necessary
  getOrAddManufacturer(self, device)
Return name of the manufacturer
  getOrAddOrganizer(self, name, parent)
Return or create a suborganizer of the given class, parent, name
  getOrAddProduct(self, device)
  getSystem(self, name, parent)
Return the test system, creating it if necessary
  main(self)
Inherited from ZCmdBase: 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

buildDevicesEverywhere(self)

Create a test device in each event class

buildOptions(self)

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

getDeviceClass(self, name='Test Device Class', parent=None)

Return the test device class, creating it if necessary

getGroup(self, name='Test Group', parent=None)

Return the test group, creating it if necessary

getLocation(self, name='Test Location', parent=None)

Return the test location, creating it if necessary

getOrAddManufacturer(self, device)

Return name of the manufacturer

getOrAddOrganizer(self, name, parent)

Return or create a suborganizer of the given class, parent, name

getSystem(self, name='Test System', parent=None)

Return the test system, creating it if necessary

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