Package Products :: Package ZenModel :: Module Fan :: Class Fan
[hide private]
[frames] | no frames]

Class Fan

source code

                     object --+            
                              |            
              Lockable.Lockable --+        
                                  |        
    DeviceComponent.DeviceComponent --+    
                                      |    
ManagedEntity.ManagedEntity --+       |    
                              |       |    
            MEProduct.MEProduct --+   |    
                                  |   |    
                  Hardware.Hardware --+    
                                      |    
                HWComponent.HWComponent --+
                                          |
                                         Fan

Fan object

Instance Methods [hide private]
 
rpmString(self)
Return a string representation of the RPM
source code
 
rpm(self, default=None)
Return the current RPM
source code
 
viewName(self)
Return the name of this component.
source code
 
name(self)
Return the name of this component.
source code

Inherited from HWComponent.HWComponent: device

Inherited from DeviceComponent.DeviceComponent: filterAutomaticCreation, getAqProperty, getClassObject, getCollectors, getIconPath, getInstDescription, getManageIp, getNagiosTemplate, getParentDeviceName, getParentDeviceTitle, getParentDeviceUrl, getRRDContextData, getStatus, getStatusString, getSubComponentsNoIndexGen, hostname, monitored, setAqProperty

Inherited from Lockable.Lockable: getNextLockableParent, isLockedFromDeletion, isLockedFromUpdates, isUnlocked, lockFromDeletion, lockFromUpdates, lockStatus, lockWarning, sendEventWhenBlocked, setSendEventWhenBlockedFlag, unlock, unsetSendEventWhenBlockedFlag

Inherited from Hardware.Hardware: setProduct, setProductKey

Inherited from MEProduct.MEProduct: getDescription, getDeviceLink, getManufacturer, getManufacturerHref, getManufacturerLink, getManufacturerName, getModelName, getProductContext, getProductHref, getProductKey, getProductLink, getProductName, setDescription

Class Variables [hide private]
  meta_type = 'Fan'
  portal_type = 'Fan'
  state = "unknown"
  type = "unknown"
  _properties = HWComponent._properties+({'id': 'state', 'type':...
  _relations = HWComponent._relations+(("hw", ToOne(ToManyCont, ...
  factory_type_information = {'id': 'Fan', 'meta_type': 'Fan', '...

Inherited from DeviceComponent.DeviceComponent: __pychecker__, collectors, default_catalog, event_key, perfmonInstance, security

Inherited from Lockable.Lockable: modelerLock, sendEventWhenBlockedFlag

Inherited from Hardware.Hardware: serialNumber, tag

Inherited from MEProduct.MEProduct (private): _manufacturer, _prodKey

Method Details [hide private]

name(self)

source code 

Return the name of this component. Default is id.

Overrides: DeviceComponent.DeviceComponent.name
(inherited documentation)

Class Variable Details [hide private]

_properties

Value:
HWComponent._properties+({'id': 'state', 'type': 'string', 'mode': 'w'\
}, {'id': 'type', 'type': 'string', 'mode': 'w'},)

_relations

Value:
HWComponent._relations+(("hw", ToOne(ToManyCont, "Products.ZenModel.De\
viceHW", "fans")),)

factory_type_information

Value:
{'id': 'Fan', 'meta_type': 'Fan', 'description': """Arbitrary device g\
rouping class""", 'icon': 'Fan_icon.gif', 'product': 'ZenModel', 'fact\
ory': 'manage_addFan', 'immediate_view': 'viewFan', 'actions':({'id': \
'status', 'name': 'Status', 'action': 'viewFan', 'permissions':('View'\
,)}, {'id': 'perfConf', 'name': 'Template', 'action': 'objTemplates', \
'permissions':("Change Device",)},)},