SAFplus Runtime Director API
3.0.5
|
Class that models a SAF Component Service Instance; essentially the part of a work assignment (SAF SI) that gets assigned to a particular process (SAF component) More...
Public Member Functions | |
def | __init__ |
def | isRunning |
Return true if this service instance is assigned. More... | |
def | isIdle |
Return true if this service instance is not assigned. More... | |
def | isProtected |
Return true if this service instance has at least 1 running standby assignment. More... | |
def | redundancyModel |
Return the redundancy model (integer enum). More... | |
def | ActiveNode |
Return what node (AmfNode object) this CSI is assigned active on, or None if it is not active anywhere. More... | |
def | StandbyNode |
Return what node (AmfNode object) this CSI is assigned standby on, or None if it is not standby anywhere. More... | |
Public Member Functions inherited from aspAmfEntity.AmfEntity | |
def | __init__ |
Constructor Parameters: typee: The AMF type of this entity. More... | |
def | __cmp__ |
The comparison operator simply compares entity names since the AMF mandates that entity names are unique. More... | |
def | __hash__ |
def | __str__ |
def | setInitialState |
Set the initial state of this entity (call before you pass the object to aspAmf) More... | |
def | copyLocalState |
Copy the locally kept state in this entity from one entity to another of the same type. More... | |
def | setConfig |
def | setState |
def | setStatus |
def | isRunning |
Return true if this entity is running. More... | |
def | isProtected |
Return true if this service instance has at least 1 running standby assignment, None if not applicable. More... | |
def | isIdle |
Return True if the entity is running but has no assigned work, or None if the concept of 'idle' is not applicable. More... | |
def | isOk |
Return True if the entity is 100%. More... | |
def | adminState |
Return the administrative status of this entity. More... | |
def | enabled |
Return True if this entity is enabled, False if not enabled, or none if not applicable (for example the entity has not been applied into the AMF). More... | |
Public Attributes | |
csiType | |
component | |
The component that this CSI is assigned to. More... | |
si | |
The parent service instance that owns this CSI. More... | |
kvdict | |
The key/value pairs that define this CSI (SAF calls them name/value pairs (nvps)) More... | |
Public Attributes inherited from aspAmfEntity.AmfEntity | |
type | |
SAF AMF type of the entity (see module-global variable that define available types) More... | |
name | |
Name of this entity as known by the AMF. More... | |
associatedData | |
initialState | |
cconfig | |
SAF AMF configuration of the entity. More... | |
cstatus | |
Class that models a SAF Component Service Instance; essentially the part of a work assignment (SAF SI) that gets assigned to a particular process (SAF component)
def aspAmfEntity.AmfComponentServiceInstance.__init__ | ( | self, | |
name, | |||
kvdict, | |||
csiType = None |
|||
) |
def aspAmfEntity.AmfComponentServiceInstance.ActiveNode | ( | self | ) |
Return what node (AmfNode object) this CSI is assigned active on, or None if it is not active anywhere.
def aspAmfEntity.AmfComponentServiceInstance.isIdle | ( | self | ) |
Return true if this service instance is not assigned.
def aspAmfEntity.AmfComponentServiceInstance.isProtected | ( | self | ) |
Return true if this service instance has at least 1 running standby assignment.
def aspAmfEntity.AmfComponentServiceInstance.isRunning | ( | self | ) |
Return true if this service instance is assigned.
def aspAmfEntity.AmfComponentServiceInstance.redundancyModel | ( | self | ) |
Return the redundancy model (integer enum).
The redundancy model of the work is that of the parent SG
def aspAmfEntity.AmfComponentServiceInstance.StandbyNode | ( | self | ) |
Return what node (AmfNode object) this CSI is assigned standby on, or None if it is not standby anywhere.
aspAmfEntity.AmfComponentServiceInstance.component |
The component that this CSI is assigned to.
aspAmfEntity.AmfComponentServiceInstance.csiType |
aspAmfEntity.AmfComponentServiceInstance.kvdict |
The key/value pairs that define this CSI (SAF calls them name/value pairs (nvps))
aspAmfEntity.AmfComponentServiceInstance.si |
The parent service instance that owns this CSI.