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

Class OSComponent

source code

                                                       object --+        
                                                                |        
                                                Lockable.Lockable --+    
                                                                    |    
                                      DeviceComponent.DeviceComponent --+
                                                                        |
                                                   object --+           |
                                                            |           |
                                    ZenModelBase.ZenModelBase --+       |
                                                                |       |
Products.ZenRelations.RelationshipManager.RelationshipManager --+       |
                                                                |       |
                                      ExtensionClass.Base --+   |       |
                                                            |   |       |
                                       OFS.History.Historical --+       |
                                                                |       |
                                                   object --+   |       |
                                                            |   |       |
                                          ZenPacker.ZenPacker --+       |
                                                                |       |
                                            ZenModelRM.ZenModelRM --+   |
                                                                    |   |
                                  DeviceResultInt.DeviceResultInt --+   |
                                                                    |   |
                                                       object --+   |   |
                                                                |   |   |
                                              EventView.EventView --+   |
                                                                    |   |
                                                       object --+   |   |
                                                                |   |   |
                                                  RRDView.RRDView --+   |
                                                                    |   |
                                          ManagedEntity.ManagedEntity --+
                                                                        |
                                                                       OSComponent

Logical Operating System component like a Process, IpInterface, etc.

Instance Methods [hide private]
 
setUserCreateFlag(self)
Sets self.isUserCreatedFlag to True.
source code
 
isUserCreated(self)
Returns the value of isUserCreated.
source code
 
device(self)
Return our device object for DeviceResultInt.
source code
 
manage_deleteComponent(self, REQUEST=None)
Delete OSComponent
source code
 
manage_updateComponent(self, datamap, REQUEST=None)
Update OSComponent
source code
string
getIconPath(self)
Override the device's zProperty and return an icon based on the class name
source code
 
getPrettyLink(self)
Gets a link to this object, plus an icon
source code

Inherited from DeviceComponent.DeviceComponent: filterAutomaticCreation, getAqProperty, getClassObject, getCollectors, getInstDescription, getManageIp, getNagiosTemplate, getParentDeviceName, getParentDeviceUrl, getRRDContextData, getStatus, getStatusString, hostname, manage_afterAdd, manage_afterClone, manage_beforeDelete, monitored, name, setAqProperty

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

Inherited from ZenModelRM.ZenModelRM: __init__, changePythonClass, creator, editableDeviceList, findChild, getCreatedTimeString, getDmdKey, getModificationTimeString, getSubObjects, getTreeItems, getZenRootNode, index_object, primarySortKey, reindex_all, rename, unindex_object, viewName, zmanage_addProperty, zmanage_delObjects, zmanage_delProperties, zmanage_editProperties, zmanage_exportObject, zmanage_importObject, zmanage_importObjects

Inherited from ZenModelBase.ZenModelBase: __call__, __hash__, all_meta_types, aqBaseHasAttr, breadCrumbs, callZenScreen, checkRemotePerm, checkValidId, createHierarchyObj, custPropertyIds, custPropertyMap, getBreadCrumbUrlPath, getDmd, getDmdObj, getDmdRoot, getHierarchyObj, getIdLink, getNowString, getObjByPath, getPrimaryDmdId, getUnusedId, getZ, getZopeObj, helpLink, isLocalName, manage_deleteObjects, prepId, saveCustProperties, todayDate, urlLink, view, visibleCustPropertyMap, yesterdayDate, zenScreenUrl, zenpathjoin, zenpathsplit, zentinelTabs

Inherited from OFS.History.Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCompare, manage_historyCopy

Inherited from ZenPacker.ZenPacker: addToZenPack, eligiblePacks, findObject

Inherited from DeviceResultInt.DeviceResultInt: getDeviceClassName, getDeviceClassPath, getDeviceIp, getDeviceIpAddress, getDeviceLink, getDeviceMacaddress, getDeviceName, getDeviceUrl, getPingStatus, getPingStatusNumber, getProdState, getSnmpStatus, getSnmpStatusNumber, isResultLockedFromDeletion, isResultLockedFromUpdates, sendEventWhenResultBlocked

Inherited from EventView.EventView: convertEventField, getEventDetail, getEventDetailFromStatusOrHistory, getEventHistory, getEventManager, getEventOwnerList, getEventSummary, getStatusCssClass, getStatusImgSrc, manage_ackBatchEvents, manage_ackEvents, manage_addLogMessage, manage_createEventMap, manage_deleteBatchEvents, manage_deleteEvents, manage_deleteHeartbeat, manage_setEventStates, manage_undeleteBatchEvents, manage_undeleteEvents

Inherited from RRDView.RRDView: cacheRRDValue, fetchRRDValue, fetchRRDValues, fullRRDPath, getDefaultGraphDefs, getGraphDef, getGraphDefUrl, getRRDDataPoint, getRRDDataPoints, getRRDFileName, getRRDNames, getRRDPaths, getRRDSum, getRRDTemplate, getRRDTemplateByName, getRRDTemplateName, getRRDTemplates, getRRDValue, getRRDValues, getThresholdInstances, getThresholds, makeLocalRRDTemplate, removeLocalRRDTemplate, rrdPath, snmpIgnore

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  isUserCreatedFlag = False
  _relations = ManagedEntity._relations+(("links", ToMany(ToMany...

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

Inherited from Lockable.Lockable: modelerLock, sendEventWhenBlockedFlag

Inherited from ManagedEntity.ManagedEntity: monitor, snmpindex

Inherited from ManagedEntity.ManagedEntity (private): _properties

Inherited from ZenModelRM.ZenModelRM: isInTree, meta_type

Inherited from ZenModelBase.ZenModelBase: index_html, sub_meta_types

Inherited from OFS.History.Historical: HistoricalRevisions, __ac_permissions__, manage_change_history_page, manage_options

Inherited from OFS.History.Historical (private): _manage_historyComparePage

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUserCreateFlag(self)

source code 
Sets self.isUserCreatedFlag to True. This indicated that the component was created by a user rather than via modelling.

isUserCreated(self)

source code 
Returns the value of isUserCreated. See setUserCreatedFlag() above.

device(self)

source code 
Return our device object for DeviceResultInt.
Overrides: ManagedEntity.ManagedEntity.device

getIconPath(self)

source code 
Override the device's zProperty and return an icon based on the class name
Returns: string
Path to icon
Overrides: ZenModelBase.ZenModelBase.getIconPath

Class Variable Details [hide private]

_relations

Value:
ManagedEntity._relations+(("links", ToMany(ToMany, "Products.ZenModel.\
Link", "endpoints")),)