<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 11:13 AM, Julien Danjou <span dir="ltr"><<a href="mailto:julien.danjou@enovance.com" target="_blank">julien.danjou@enovance.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<br>
<br>
I've added a first script that's able to connect to the AMQP<br>
notification queue using Nova RPC module. Later it will be able to treat<br>
them when we'll know what to do with them.<br>
<br>
  <a href="https://review.stackforge.org/#/c/26/" target="_blank">https://review.stackforge.org/#/c/26/</a><br>
  <a href="https://review.stackforge.org/#/c/27/" target="_blank">https://review.stackforge.org/#/c/27/</a><br>
  <a href="https://review.stackforge.org/#/c/28/" target="_blank">https://review.stackforge.org/#/c/28/</a><br>
<br>
I wish I could use nova.service.Service, but the code is too RPC<br>
oriented so that it can't grab notification from the notifier, so for<br>
now the daemon is rather simple.<br></blockquote><div><br></div><div>I'm not sure what you mean. I was able to use nova.service to create a "metering" server and a simple manager that subscribes to the notification events. See <a href="https://github.com/dhellmann/metering-prototype">https://github.com/dhellmann/metering-prototype</a> (metering-test is the main program and testmanager.py is the manager class). I borrowed your Connection code.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Julien Danjou<br>
// eNovance                      <a href="http://enovance.com" target="_blank">http://enovance.com</a><br>
// ✉ <a href="mailto:julien.danjou@enovance.com">julien.danjou@enovance.com</a>  ☎ <a href="tel:%2B33%201%2049%2070%2099%2081" value="+33149709981">+33 1 49 70 99 81</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</font></span></blockquote></div><br>