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.
-
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
.