<br><font size=2 face="sans-serif">Hi Gordon Chung,</font>
<br>
<br><font size=2 face="sans-serif">Could you please tell me why adding
another notification topic is not a good choice</font><font size=2 face="Calibri">?
Thanks~</font>
<br>
<br><font size=2 face="sans-serif">BR,</font>
<br><font size=2 face="sans-serif">dwj<br>
</font><font size=3><br>
</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=36%><font size=1 face="sans-serif"><b>"Afek, Ifat (Nokia
- IL)" <ifat.afek@nokia.com></b> </font>
<p><font size=1 face="sans-serif">2016-10-19 16:20</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">请答复 给<br>
"OpenStack Development Mailing List \(not for usage questions\)"
<openstack-dev@lists.openstack.org></font></div></table>
<br>
<td width=63%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">收件人</font></div>
<td><font size=1 face="sans-serif">"OpenStack Development Mailing
List (not for usage questions)" <openstack-dev@lists.openstack.org>,
"gord@live.ca" <gord@live.ca></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">抄送</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">主题</font></div>
<td><font size=1 face="sans-serif">Re: [openstack-dev] [vitrage][aodh]
about aodh notifier to create a event alarm</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=3 face="Calibri"><b>From: </b>"</font><a href=mailto:dong.wenjuan@zte.com.cn><font size=3 color=blue face="Calibri"><u>dong.wenjuan@zte.com.cn</u></font></a><font size=3 face="Calibri">"<b><br>
Date: </b>Wednesday, 19 October 2016 at 11:01</font>
<br><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><font size=2 face="Calibri"><br>
</font><font size=2 face="Calibri"><br>
This is more complex. Aodh has a mechanism for registering a URL to be
notified when the state of a specific alarm is changed. <br>
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><font size=2 face="Calibri"><br>
</font><font size=2 face="Calibri"><br>
[dwj]:  If i understand correctly, Aodh already support a notification
whenever *any* alarm state is changed.<br>
              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">.<br>
      We only need to config the vitrage_notifications topics
in Aodh then Vitrage can get the notifications from Aodh.<br>
      Let me know if i miss something.</font><font size=2 face="Calibri">
<br>
<br>
A few months ago I discussed it with Gordon Chung, and understood that
he blocked the option to add another notification topic. </font>
<br><font size=2 face="Calibri">Gordon?</font>
<br>
<br><font size=2 face="Calibri"><br>
</font><font size=2><tt>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br>
</tt></font>
<br>