| Trees | Index | Help |
|
|---|
| Package ZenModel :: Module DeviceComponent :: Class DeviceComponent |
|
object--+ |Lockable--+ | DeviceComponent
HWComponent,
OSComponent| Method Summary | |
|---|---|
Get a property from ourself if it exsits then try serviceclass path. | |
If you are going to use acquisition up different class path override this. | |
Return some text that describes this component. | |
Return the manageIP of the device of this component. | |
getNagiosTemplate(self,
name)
| |
return the name of this component's device | |
return the url of this component's device | |
Return the closest RRDTemplate named name by walking our aq chain. | |
Return the status number for this component of class statClass. | |
getStatusString(self,
statClass)
| |
return the name of this component's device | |
Device only propagates afterAdd if it is the added object. | |
Not really sure when this is called. | |
Device only propagates beforeDelete if we are being deleted or copied. | |
Return the monitored status of this component. | |
Return the name of this component. | |
Set a local prop if nessesaary on this service. | |
Inherited from Lockable:
getNextLockableParent,
isLockedFromDeletion,
isLockedFromUpdates,
isUnlocked,
lockFromDeletion,
lockFromUpdates,
lockStatus,
lockWarning,
sendEventWhenBlocked,
setSendEventWhenBlockedFlag,
unlock,
unsetSendEventWhenBlockedFlag
Inherited from object:
__init__,
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = ()
|
str |
default_catalog = 'componentSearch'
|
str |
event_key = 'Component'
|
tuple |
manage_afterAdd__roles__ = ('Manager',)
|
tuple |
manage_afterClone__roles__ = ('Manager',)
|
tuple |
manage_beforeDelete__roles__ = ('Manager',)
|
Inherited from Lockable:
modelerLock,
sendEventWhenBlockedFlag
| |
| Method Details |
|---|
getAqProperty(self, prop)Get a property from ourself if it exsits then try serviceclass path. |
getClassObject(self)If you are going to use acquisition up different class path override this. |
getInstDescription(self)Return some text that describes this component. Default is name. |
getManageIp(self)Return the manageIP of the device of this component. |
getParentDeviceName(self)return the name of this component's device |
getParentDeviceUrl(self)return the url of this component's device |
getRRDTemplateByName(self, name)Return the closest RRDTemplate named name by walking our aq chain. |
getStatus(self, statClass=None)Return the status number for this component of class statClass. |
hostname(self)return the name of this component's device |
manage_afterAdd(self, item, container)Device only propagates afterAdd if it is the added object. |
manage_afterClone(self, item)Not really sure when this is called. |
manage_beforeDelete(self, item, container)Device only propagates beforeDelete if we are being deleted or copied. Moving and renaming don't propagate. |
monitored(self)Return the monitored status of this component. Default is False. |
name(self)Return the name of this component. Default is id. |
setAqProperty(self, prop, value, type)Set a local prop if nessesaary on this service. |
| Class Variable Details |
|---|
__ac_permissions__
|
default_catalog
|
event_key
|
manage_afterAdd__roles__
|
manage_afterClone__roles__
|
manage_beforeDelete__roles__
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |