On Wed, May 9, 2012 at 11:13 AM, Julien Danjou <[email protected]>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 > // ✉ [email protected] ☎ +33 1 49 70 99 81 > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

