The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.
For each testenv in tox.ini which overrides the base testenv deps list,
explicitly include {pip,test}-requires in the list so that oslo-config
doesn't fail to install later when easy_install attempts to install
the tarball when doing 'python setup.py install'.
Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Also change the collector from a manager into a Service
to make it easier to access the rpc connection.
Change-Id: I1d79abb1db087110d565a9673a48de0502ac2a2b
This changed since 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 for blueprint
cfg-global-object in Nova.
Change-Id: Iaae34a1e4953c964b99411247219f7b72358823f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
bug 1004198
bug 1004200
- Set up the collector to receive the metering messages.
- Make the collector republish notifications as metering data.
- Add a "monitor" mode to tools/notificationclient.py to simply print
the events without writing them to a file.
- Add a --topic flag to tools/notificationclient.py so it can be made
to listen events other than notifications (for monitoring metering
events).
- Change "counter_datetime" within the metering message to "timestamp"
to be consistent with the notification message format.
- Add a configuration option to control the secret value for signing
metering messages.
- Make the collector and agent daemon control topics more specific.
- Use the config setting to set the metering topic subscription.
- Set a short interval for polling to get more data for development
testing.
- Log after successful load of pollsters instead of before attempt.
Change-Id: Iedfe26f8a4fa80d88cd0a76e5738001ba5689bdc