Change in ovirt-hosted-engine-ha[master]: Add support for email notifications

gpadgett at redhat.com gpadgett at redhat.com
Mon Nov 18 16:16:36 UTC 2013


Greg Padgett has submitted this change and it was merged.

Change subject: Add support for email notifications
......................................................................


Add support for email notifications

This adds a support for configurable email notifications.
Currently only state machine transitions generate a notification
event. The event is then processed by broker and email is
sent to recipients.

Events are filtered according to a config file broker.conf.
If the event type exists as a key in [notify] section and the
detail field contains the value assigned to that key (case insen-
sitive regex matching applies) then the email is sent.

Change-Id: Ibb466b8b130b75705f3cc9f817e377e79b3e81ba
Signed-off-by: Martin Sivak <msivak at redhat.com>
---
M configure.ac
M ovirt-hosted-engine-ha.spec.in
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/broker/Makefile.am
A ovirt_hosted_engine_ha/broker/broker.conf
M ovirt_hosted_engine_ha/broker/constants.py.in
M ovirt_hosted_engine_ha/broker/listener.py
A ovirt_hosted_engine_ha/broker/notifications.py
A ovirt_hosted_engine_ha/broker/notifications/Makefile.am
A ovirt_hosted_engine_ha/broker/notifications/state_transition.txt
M ovirt_hosted_engine_ha/env/Makefile.am
M ovirt_hosted_engine_ha/lib/brokerlink.py
12 files changed, 193 insertions(+), 2 deletions(-)

Approvals:
  Greg Padgett: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21042
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb466b8b130b75705f3cc9f817e377e79b3e81ba
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list