<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div><br>
</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"<a href="mailto:dong.wenjuan@zte.com.cn">dong.wenjuan@zte.com.cn</a>"<br>
<span style="font-weight:bold">Date: </span>Wednesday, 19 October 2016 at 11:01<br>
</div>
<div>
<div><font size="2" face="sans-serif"><br>
The BP of aodh-message-bus-notifications[1] was blocked as Aodh message bus notification</font><font size="3" face="Calibri">.
</font><font size="2" face="sans-serif"><br>
As the discuession of Vitrage and Aodh in etherpad[2], only the Aodh alarm_deletion notification is missing.<br>
I proposed a patch to add the Aodh alarm_deletion notification.[3]<br>
Please help me to review this patch.</font><font size="2" face="Calibri"> </font>
<font size="2" face="sans-serif"><br>
Do the alarm.creation, alarm.state_transition and alarm.deletion satisfy the Vitrage requirement?<br>
I'd like to help to implement the aodh-message-bus-notifications BP if there is nobody interest in it.</font><br>
<br>
<font size="2" face="Calibri">This is more complex. Aodh has a mechanism for registering a URL to be notified when the state of a specific alarm is changed.
</font><br>
<font size="2" face="Calibri">Vitrage asked for something else - a notification whenever *any* alarm state is changed. In Vitrage we don’t want to register to each and every Aodh alarm separately, so we prefer to get the notifications for all changes on the
 message bus (as we do with other OpenStack projects). In addition, there is currently no notification about a newly created alarm, so even if we register a URL on each alarm we will not be able to register it on the new alarms.
</font><br>
<br>
<font size="2" face="Calibri">[dwj]:  If i understand correctly, Aodh already support a notification whenever *any* alarm state is changed.</font><br>
<font size="2" face="Calibri">              See </font><a href="https://github.com/openstack/aodh/blob/master/aodh/evaluator/__init__.py#L107"><font size="1" color="blue" face="Arial"><u>https://github.com/openstack/aodh/blob/master/aodh/evaluator/__init__.py#L107</u></font></a><font size="2" face="sans-serif">.</font><br>
<font size="2" face="sans-serif">      We only need to config the vitrage_notifications topics in Aodh then Vitrage can get the notifications from Aodh.</font><br>
<font size="2" face="sans-serif">      Let me know if i miss something.</font> <br>
<br>
A few months ago I discussed it with Gordon Chung, and understood that he blocked the option to add another notification topic. </div>
</div>
</span>
<div>Gordon?</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div><br>
<br>
</div>
</div>
</span>
</body>
</html>