Ignore pyc files

Change-Id: Id98d91e397fc5ee77c8d6b41882c264748c0ab76
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Import ceilometer-nova-compute

This script is used to grab notifications from existing hosts

Change-Id: I45826fd6941d7bd93464bf945903b6b41223745c
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Add setup.py

Change-Id: Iffdb887f308eb9ea85ffbf13e192efbb79821d65
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Change license to Apache 2.0

Change-Id: I062d722fb570a6f00151eb620d8c169b2ee374ae
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Use nova.service, add a manager class

Change-Id: I76e2b7123c206082f1fca72f94433dac58b72391
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Periodically fetch for disk io stats

Change-Id: Id48337a598e8941d9e1793ad552251369ef3954f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Add an exception handler to deal with errors that occur when the info in nova is out of sync with reality (as on my currently broken system).
Also adds a nova prefix to the logger for now so messages from this module make it into the log file.

Change-Id: I57dc7e74a16955bcf42e9360e7de6e2f26ca09b0
add a tool for recording notifications and replaying them

Change-Id: I852a6fbef7b9bf02309f699419da0a2537ce7a90
Merge "Add an exception handler to deal with errors that occur when the info in nova is out of sync with reality (as on my currently broken system). Also adds a nova prefix to the logger for now so messages from this module make it into the log file."
Add an example function for converting a nova notification to a counter.

Change-Id: I05f2e42059cefb004d5afec7c28d557093eba227
Add CPU time fetching

Change-Id: Ie16c588af209c4410e1150038e9fb24dc111159d
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Add plugin support to the notification portion of the collector daemon.

Implement a Counter class for use by notification plugins.
Define a base class for Notification plugins.
Define a dispatcher class for notification events to be passed to the plugins.
Add a notification plugin for instance creation and "instance" counters.
Add a reusable function for turning a Counter into a metering event dictionary.

Change-Id: Iaa626b98e1a661ed31cc8b8e95263c111df20888
Build ceilometer-agent and ceilometer-collector

Change-Id: I0cc5b163ac638f33397e7e7a9c046dca3e2939e9
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
make the pollsters in the agent plugins

Move user_id and project_id into the Counter
since the polling code has to pull those
values from the instance object.
Convert the libvirt polling code to plugins.
Have the agent manager load the plugins and run
them as part of its periodic task step.

Change-Id: Id59a696beb33c7c9a232460ce52e272f5408e70d
Fix tests based on DB by importing nova.tests

This is the same trick used in nova test suite.

Change-Id: I280dc6b3881d4a1d6503b9a0b313ec395b97e238
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Add floating IP pollster

Change-Id: Ia5e71117f0e1bec7dcbbd5a9332c07297fcd5c1f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Publish and receive metering messages

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
Merge "Add floating IP pollster"