The rsd_lib.resources.v2_2.telemetry_service.metric Module

class rsd_lib.resources.v2_2.telemetry_service.metric.DiscreteTriggerConditionCollectionField(*args, **kwargs)

Bases: sushy.resources.base.ListField

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

The name of trigger.

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

This property contains the previous value of 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_service.metric.Metric(connector, path='', redfish_version=None, registries=None, reader=None)

Bases: rsd_lib.base.ResourceBase

Metric resource class

Defines the use of a set of properties as metrics.

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

The value is the collection duration for each metric value.

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

Function to perform over each sample.

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

A collection of URI for the properties on which this metric is collected.

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

A Triggering condition for the event.

class rsd_lib.resources.v2_2.telemetry_service.metric.NumericTriggerConditionCollectionField(*args, **kwargs)

Bases: sushy.resources.base.ListField

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

This property contains the direction that the previous value came from.

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

The name of trigger.

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

This property contains the value of the trigger.

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

Bases: sushy.resources.base.CompositeField

TriggerCondition field

A trigger condition.

discrete_trigger_conditions = <rsd_lib.resources.v2_2.telemetry_service.metric.DiscreteTriggerConditionCollectionField object>

A Trigger condition based on TriggerDiscreteCondition.

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

The time in the triggering state before the trigger is invoked.

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

A filter on the elements specified by OriginResources.

numeric_trigger_conditions = <rsd_lib.resources.v2_2.telemetry_service.metric.NumericTriggerConditionCollectionField object>

A Trigger condition based on TriggerNumericCondition.

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

The type of trigger.