ceilometer.ipmi.notifications.ironic
Module¶Converters for producing hardware sensor data sample messages from notification events.
ceilometer.ipmi.notifications.ironic.
CurrentSensorNotification
(manager)[source]¶Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
ceilometer.ipmi.notifications.ironic.
FanSensorNotification
(manager)[source]¶Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
ceilometer.ipmi.notifications.ironic.
InvalidSensorData
[source]¶Bases: exceptions.ValueError
ceilometer.ipmi.notifications.ironic.
SensorNotification
(manager)[source]¶Bases: ceilometer.agent.plugin_base.NotificationBase
A generic class for extracting samples from sensor data notifications.
A notification message can contain multiple samples from multiple sensors, all with the same basic structure: the volume for the sample is found as part of the value of a ‘Sensor Reading’ key. The unit is in the same value.
Subclasses exist solely to allow flexibility with stevedore configuration.
process_notification
(message)[source]¶Read and process a notification.
The guts of a message are in dict value of a ‘payload’ key which then itself has a payload key containing a dict of multiple sensor readings.
If expected keys in the payload are missing or values are not in the expected form for transformations, KeyError and ValueError are caught and the current sensor payload is skipped.
ceilometer.ipmi.notifications.ironic.
TemperatureSensorNotification
(manager)[source]¶Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
ceilometer.ipmi.notifications.ironic.
VoltageSensorNotification
(manager)[source]¶Bases: ceilometer.ipmi.notifications.ironic.SensorNotification
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.