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

# Class OSComponent

source code

                     object --+
                              |
              Lockable.Lockable --+
                                  |
    DeviceComponent.DeviceComponent --+
                                      |
        ManagedEntity.ManagedEntity --+
                                      |
                                     OSComponent

Known Subclasses:
  - OSProcess.OSProcess
  - , FileSystem.FileSystem
  - , IpInterface.IpInterface
  - , IpRouteEntry.IpRouteEntry
  - , Service.Service

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
getPrettyLink(self) Gets a link to this object, plus an icon | source code
Inherited from `DeviceComponent.DeviceComponent`: `filterAutomaticCreation`, `getAqProperty`, `getClassObject`, `getCollectors`, `getIconPath`, `getInstDescription`, `getManageIp`, `getNagiosTemplate`, `getParentDeviceName`, `getParentDeviceTitle`, `getParentDeviceUrl`, `getRRDContextData`, `getStatus`, `getStatusString`, `getSubComponentsNoIndexGen`, `hostname`, `monitored`, `name`, `setAqProperty` Inherited from `Lockable.Lockable`: `getNextLockableParent`, `isLockedFromDeletion`, `isLockedFromUpdates`, `isUnlocked`, `lockFromDeletion`, `lockFromUpdates`, `lockStatus`, `lockWarning`, `sendEventWhenBlocked`, `setSendEventWhenBlockedFlag`, `unlock`, `unsetSendEventWhenBlockedFlag`

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`

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.

Class Variable Details | [hide private]

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