The rsd_lib.resources.v2_2.telemetry.trigger Module

The rsd_lib.resources.v2_2.telemetry.trigger Module

class rsd_lib.resources.v2_2.telemetry.trigger.DiscreteTriggersField(*args, **kwargs)

Bases: sushy.resources.base.ListField

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

This time the excursion persists before a trigger is determined

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

The name of trigger

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

This property contains the value of the Severity property in the Event message

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

This property contains the value of the trigger

class rsd_lib.resources.v2_2.telemetry.trigger.NumericTriggersField(*args, **kwargs)

Bases: sushy.resources.base.ListField

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

This property contains the value of the trigger

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

This time the excursion persists before a trigger is determined

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

The name of trigger

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

This property contains the value of the Severity property in the Event message

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

This property contains the value of the trigger

class rsd_lib.resources.v2_2.telemetry.trigger.Trigger(connector, path='', redfish_version=None, reader=None)

Bases: sushy.resources.base.ResourceBase

delete()

Delete trigger

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

The trigger description

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

The value shall indicate how the corresponding metric

discrete_triggers = <rsd_lib.resources.v2_2.telemetry.trigger.DiscreteTriggersField object>

List of discrete triggers

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

The trigger identity

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

The report definition metric properties

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

The type of trigger

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

The trigger name

numeric_triggers = <rsd_lib.resources.v2_2.telemetry.trigger.NumericTriggersField object>

List of numeric triggers

status = <rsd_lib.common.StatusField object>

The trigger status

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

The metric report description

wildcards = <rsd_lib.resources.v2_2.telemetry.trigger.WildcardsField object>

The property shall contain an array of wildcards and their replacements strings, which are to appliced to the MetricProperties array property

class rsd_lib.resources.v2_2.telemetry.trigger.TriggerCollection(connector, path, redfish_version=None)

Bases: sushy.resources.base.ResourceCollectionBase

create_trigger(name=None, description=None, metric_type=None, trigger_actions=None, numeric_triggers=None, discrete_trigger_condition=None, discrete_triggers=None, status=None, wildcards=None, metric_properties=None)

Create a new trigger

Parameters
  • name – The trigger name

  • description – The trigger description

  • metric_type – The type of trigger

  • trigger_actions – The metric report description

  • numeric_triggers – List of numeric triggers

  • discrete_trigger_condition – The value shall indicate how the corresponding metric

  • discrete_triggers – List of discrete triggers

  • status – The trigger status

  • wildcards – Wildcards used to replace values in MetricProperties array property

  • metric_properties – The report definition metric properties

Returns

The uri of the new trigger

class rsd_lib.resources.v2_2.telemetry.trigger.WildcardsField(*args, **kwargs)

Bases: sushy.resources.base.ListField

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

If the value is an empty string, then the server shall substitute every current key. Each not empty key value shall be substituted for the wildcard

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

This property shall contain a name for a Wildcard for a key

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.