4319 Commits

Author SHA1 Message Date
Julien Danjou
d4635bede1 Add floating IP pollster
Change-Id: Ia5e71117f0e1bec7dcbbd5a9332c07297fcd5c1f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-25 10:41:15 +02:00
Julien Danjou
dbccf0ce69 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>
2012-05-24 13:48:07 +02:00
Doug Hellmann
bc1f004f8f 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
2012-05-23 16:56:32 -04:00
Julien Danjou
5717e9c5c9 Build ceilometer-agent and ceilometer-collector
Change-Id: I0cc5b163ac638f33397e7e7a9c046dca3e2939e9
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-23 11:32:49 +02:00
Doug Hellmann
73c9150afe 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
2012-05-22 18:17:13 -04:00
Julien Danjou
cc5b02dc84 Add CPU time fetching
Change-Id: Ie16c588af209c4410e1150038e9fb24dc111159d
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-22 11:33:09 +02:00
Doug Hellmann
3c3f77f84a Add an example function for converting a nova notification to a counter.
Change-Id: I05f2e42059cefb004d5afec7c28d557093eba227
2012-05-21 18:44:00 -04:00
Jenkins
68ae03c387 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." 2012-05-21 15:24:05 +00:00
Doug Hellmann
8f4ba1656c add a tool for recording notifications and replaying them
Change-Id: I852a6fbef7b9bf02309f699419da0a2537ce7a90
2012-05-17 16:02:18 -04:00
Doug Hellmann
1f0ae02f1e 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
2012-05-15 15:27:13 -04:00
Julien Danjou
11a8416190 Periodically fetch for disk io stats
Change-Id: Id48337a598e8941d9e1793ad552251369ef3954f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-14 12:04:58 +02:00
Julien Danjou
6393825cf6 Use nova.service, add a manager class
Change-Id: I76e2b7123c206082f1fca72f94433dac58b72391
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-14 12:04:34 +02:00
Julien Danjou
886485c468 Change license to Apache 2.0
Change-Id: I062d722fb570a6f00151eb620d8c169b2ee374ae
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-14 11:37:32 +02:00
Julien Danjou
5bb0df8e5c Add setup.py
Change-Id: Iffdb887f308eb9ea85ffbf13e192efbb79821d65
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-09 14:37:28 +02:00
Julien Danjou
85beac0fa8 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>
2012-05-09 14:37:14 +02:00
Julien Danjou
bca0ead8d2 Ignore pyc files
Change-Id: Id98d91e397fc5ee77c8d6b41882c264748c0ab76
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
2012-05-09 11:56:12 +02:00
Julien Danjou
0843dc10f1 Add link to blueprint
Change-Id: I6608b9d01c9c23198d3e3e5d2f0e8551c2637f3a
2012-05-02 14:59:08 +02:00
Andrew Hutchings
241c7b319f Add .gitreview file 2012-05-01 11:17:50 +01:00
LinuxJedi
ca8dc0f250 initial commit 2012-05-01 02:31:22 -07:00