The aodh.notifier.trust Module

The aodh.notifier.trust Module

Rest alarm notifier with trusted authentication.

class aodh.notifier.trust.TrustAlarmNotifierMixin[source]

Bases: object

Mixin class to add Keystone trust support to an AlarmNotifier.

Provides a notify() method that interprets the trust ID and then calls the parent class’s notify(), passing the necessary authentication data in the headers.

notify(action, alarm_id, alarm_name, severity, previous, current, reason, reason_data)[source]
class aodh.notifier.trust.TrustRestAlarmNotifier(conf)[source]

Bases: aodh.notifier.trust.TrustAlarmNotifierMixin, aodh.notifier.rest.RestAlarmNotifier

Notifier supporting keystone trust authentication.

This alarm notifier is intended to be used to call an endpoint using keystone authentication. It uses the aodh service user to authenticate using the trust ID provided.

The URL must be in the form trust+http://host/action.

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.