Split the existing notification handlers up

We want to be able to enable and disable the handlers
for notification events individually. This change
splits them up so they are registered with separate
names to allow that.

This change also adds python-glanceclient as a test
dependency so we can import the test code from nova.

Change-Id: Icc07baba3f00294d8ee505a2cc82f65c0c7f4fc9
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
Doug Hellmann
2012-08-13 12:25:58 -04:00
parent 25d9bdb6ab
commit a8ff8fe0c3
5 changed files with 88 additions and 32 deletions

View File

@@ -37,7 +37,11 @@ setuptools.setup(
py_modules=[],
entry_points=textwrap.dedent("""
[ceilometer.collector.compute]
instance = ceilometer.compute.notifications:InstanceNotifications
instance = ceilometer.compute.notifications:Instance
memory = ceilometer.compute.notifications:Memory
vcpus = ceilometer.compute.notifications:VCpus
root_disk_size = ceilometer.compute.notifications:RootDiskSize
ephemeral_disk_size = ceilometer.compute.notifications:EphemeralDiskSize
[ceilometer.poll.compute]
libvirt_diskio = ceilometer.compute.libvirt:DiskIOPollster