The rsd_lib.resources.v2_2.telemetry.metric Module

The rsd_lib.resources.v2_2.telemetry.metric Module

class rsd_lib.resources.v2_2.telemetry.metric.DiscreteTriggerConditionField(*args, **kwargs)

Bases: sushy.resources.base.ListField

name = <sushy.resources.base.Field object>

This property shall contain a name for the trigger

previous_value = <sushy.resources.base.Field object>

If present, this property shall contain a previous value that shall be used in evaluating the behavior of setting the trigger.

trigger_value = <sushy.resources.base.Field object>

This property contains the value that sets a trigger

class rsd_lib.resources.v2_2.telemetry.metric.Metric(connector, identity, redfish_version=None)

Bases: sushy.resources.base.ResourceBase

collection_duration = <sushy.resources.base.Field object>

This property shall not be present if MetricDefinition.Timescope=Point or if MetricDefintion.Duration is present. If present, the value shall be an ISO 8601 duration of the interval over which this metric value shall be computed.

collection_function = <sushy.resources.base.Field object>

If present, the value shall define the function to apply over the collection duration

description = <sushy.resources.base.Field object>

The metric description

identity = <sushy.resources.base.Field object>

The metric identity

metric_properties = <sushy.resources.base.Field object>

The report definition metric properties

name = <sushy.resources.base.Field object>

The metric name

status = <rsd_lib.common.StatusField object>

The report definition status

trigger_condition = <rsd_lib.resources.v2_2.telemetry.metric.TriggerConditionField object>

If present the values define conditions that shall be met before the event is triggered. This trigger applies to all properties defined by the value of the MetricPropertyDeclaration property in the associated MetricDefinition and as constrained by the MetricScope property.

class rsd_lib.resources.v2_2.telemetry.metric.NumericTriggerConditionField(*args, **kwargs)

Bases: sushy.resources.base.ListField

direction_of_crossing = <sushy.resources.base.Field object>

If present, this property shall contain the direction of crossing. If not present, the direction is not relevant

name = <sushy.resources.base.Field object>

This property shall contain a name for the trigger

value = <sushy.resources.base.Field object>

This property shall contain the value of the trigger

class rsd_lib.resources.v2_2.telemetry.metric.TriggerConditionField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

discrete_trigger_conditions = <rsd_lib.resources.v2_2.telemetry.metric.DiscreteTriggerConditionField object>

A Trigger condition based on TriggerDiscreteCondition

dwell_interval = <sushy.resources.base.Field object>

The value shall be an ISO 8601 conformant interval during which the triggering state shall persist before the trigger is invoked.

filter_trigger_condition = <sushy.resources.base.Field object>

A Trigger condition based on FilterTriggerCondition

numeric_trigger_conditions = <rsd_lib.resources.v2_2.telemetry.metric.NumericTriggerConditionField object>

A Trigger condition based on NumericTriggerConditions

trigger_type = <sushy.resources.base.Field object>

The value of this property shall specific the type of trigger

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.