| Trees | Index | Help |
|
|---|
| Package ZenModel :: Package tests :: Module devicePopulator :: Class DevicePopulator |
|
CmdBase--+ |ZenDaemon--+ |ZCmdBase--+ | DevicePopulator
| Method Summary | |
|---|---|
__init__(self)
| |
Create a test device in each event class | |
basic options setup sub classes can add more options here | |
buildTestDevice(self,
name,
dClass)
| |
Return the test device class, creating it if necessary | |
Return the test group, creating it if necessary | |
Return the test location, creating it if necessary | |
Return name of the manufacturer | |
Return or create a suborganizer of the given class, parent, name | |
getOrAddProduct(self,
device)
| |
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
|
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 |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 | http://epydoc.sf.net |