class cobra.model.fault.Record¶
-
class
cobra.model.fault.
Record
¶
An immutable object that records a state transition for a fault instance object. Record creation is triggered by fault:Inst object creation or deletion, or by modification of key properties (for example, severity, lifecycle, or acknowledgement). Because an object of this class is immutable, all properties are set at the time the object is created. A record contains a complete snapshot of the fault instance object and is logically organized as a flat list under a single container. The record object contains properties from the corresponding instance object (fault:Inst) such as severity (original, highest, and previous), acknowledgement, occurrence, and lifecycle as well as inherited properties that provide a snapshot of the fault instance and the nature and time of its change. The record is meant to be queried using time-based filters or property filters for severity, affected DN, or other criteria. NOTE: The properties of the fault record object must be kept in sync with the properties of the fault instance object.
- Containers:
- Properties:
ack : The acknowledgement status of the fault at the time the fault record is created.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
affected : The affected object in which the fault condition occurred.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
cause :
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
changeSet :
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
childAction : Delete or ignore. For internal use only.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
code :
- isNaming: False
- isCreateOnly: False
- isConfig: True
- isImplicit: False
created : A timestamp indicating when this object was created.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
delegated : Mo doc not defined in techpub!!!
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
delegatedFrom : The distinguished name of the original fault.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
descr : Additional descriptive information.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
dn : A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
- isNaming: False
- isCreateOnly: True
- isConfig: False
- isImplicit: True
domain : null
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
highestSeverity : The highest severity of the fault object since its creation.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
id : null
- isNaming: True
- isCreateOnly: True
- isConfig: True
- isImplicit: False
ind : A property used to indicate whether the object was created, modified, or deleted.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
lc : The lifecycle status of the fault at the time when the fault record was created.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
modTs : The time when this object was last modified.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
occur : The number of times this fault condition has occurred.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
origSeverity : The original severity level of the fault.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
prevSeverity : The severity of the fault before the record was created.
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
rn : Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names.
- isNaming: False
- isCreateOnly: True
- isConfig: False
- isImplicit: True
rule : null
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
severity : A property that indicates severity level of the reportable object.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
status : The upgrade status. This property is for internal use only.
- isNaming: False
- isCreateOnly: False
- isConfig: False
- isImplicit: True
subject : null
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False
type : null
- isNaming: False
- isCreateOnly: True
- isConfig: True
- isImplicit: False