[Openstack] [Metering] Bootstrapping, first counter implementation

Doug Hellmann doug.hellmann at dreamhost.com
Wed May 9 21:03:09 UTC 2012


On Wed, May 9, 2012 at 11:13 AM, Julien Danjou
<julien.danjou at enovance.com>wrote:

> Hi there,
>
> I've added a first script that's able to connect to the AMQP
> notification queue using Nova RPC module. Later it will be able to treat
> them when we'll know what to do with them.
>
>  https://review.stackforge.org/#/c/26/
>  https://review.stackforge.org/#/c/27/
>  https://review.stackforge.org/#/c/28/
>
> I wish I could use nova.service.Service, but the code is too RPC
> oriented so that it can't grab notification from the notifier, so for
> now the daemon is rather simple.
>

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 https://github.com/dhellmann/metering-prototype (metering-test
is the main program and testmanager.py is the manager class). I borrowed
your Connection code.



>
> --
> Julien Danjou
> // eNovance                      http://enovance.com
> // ✉ julien.danjou at enovance.com  ☎ +33 1 49 70 99 81
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120509/e41213b4/attachment.html>


More information about the Openstack mailing list