Package ZenModel
[hide private]
[frames] | no frames]

Package ZenModel

source code

__init__

Initialize the Confmon Product

Products must follow the following standard The name of the module (file) and the name of the product class inside the file must be the same.

If there is a ZMI add screen it must be called "add" + class name (ie addDevice)and it must be defined at the module level.

the class factory must be a function at the module level called manage_add + class name (ie manage_addDevice)

If there is an icon for the product it should be called class name + _icon.gif

$Id: __init__.py,v 1.50 2004/04/06 02:19:04 edahl Exp $


Version: 1.50

Submodules [hide private]

Functions [hide private]
 
loadConfmonModules() source code
 
initialize(registrar) source code
Variables [hide private]
  __doc__ = """__ini...
  log = logging.getLogger("zen")
  __path__ = None
  confmon_globals = {'AdministrativeRole': <module 'ZenModel.Adm...
  productNames = ('Collection', 'CollectionItem', 'Classifier', ...
  confmonModules = []
Variables Details [hide private]

__doc__

Value:
"""__init__

Initialize the Confmon Product

Products must follow the following standard
The name of the module (file) and the name of the product class inside
the file must be the same.

...

confmon_globals

Value:
{'AdministrativeRole': <module 'ZenModel.AdministrativeRole' from '/us\
r/local/zenoss/Products/ZenModel/AdministrativeRole.pyc'>,
 'AdministrativeRoleable': <module 'ZenModel.AdministrativeRoleable' f\
rom '/usr/local/zenoss/Products/ZenModel/AdministrativeRoleable.pyc'>,
 'AreaGraphPoint': <module 'ZenModel.AreaGraphPoint' from '/usr/local/\
zenoss/Products/ZenModel/AreaGraphPoint.pyc'>,
 'BasicDataSource': <module 'ZenModel.BasicDataSource' from '/usr/loca\
l/zenoss/Products/ZenModel/BasicDataSource.pyc'>,
...

productNames

Value:
('Collection',
 'CollectionItem',
 'Classifier',
 'ClassifierEntry',
 'CPU',
 'DataRoot',
 'Device',
 'DeviceClass',
...