diff options
author | Dina Belova <dbelova@mirantis.com> | 2014-10-08 16:47:33 +0400 |
---|---|---|
committer | Dina Belova <dbelova@mirantis.com> | 2014-12-12 20:55:15 +0300 |
commit | 68df2bb9dc311f0492906f2502d963ecebd3d339 (patch) | |
tree | 56adac55016bdf1fedac6e191bc2112600de27e4 /ceilometer/volume | |
parent | fec091a2dbce1023c8c41b78ea54d8c8243a8edd (diff) | |
download | ceilometer-68df2bb9dc311f0492906f2502d963ecebd3d339.tar.gz |
Move central agent code to the polling agent module
That's the preparation for further compute and central agents
merge
Partially-Implements-Blueprint: merge-compute-central-agents
Change-Id: If5f151ab7d30c9711929f6dcade553fdca09ab67
Diffstat (limited to 'ceilometer/volume')
-rw-r--r-- | ceilometer/volume/notifications.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ceilometer/volume/notifications.py b/ceilometer/volume/notifications.py index e9106bcb..ea9638d4 100644 --- a/ceilometer/volume/notifications.py +++ b/ceilometer/volume/notifications.py @@ -21,7 +21,7 @@ events. from oslo.config import cfg import oslo.messaging -from ceilometer import plugin +from ceilometer.agent import plugin_base from ceilometer import sample OPTS = [ @@ -34,7 +34,7 @@ OPTS = [ cfg.CONF.register_opts(OPTS) -class VolumeBase(plugin.NotificationBase): +class VolumeBase(plugin_base.NotificationBase): """Convert volume/snapshot notification into Counters.""" @staticmethod @@ -149,4 +149,4 @@ class SnapshotSize(SnapshotCRUDBase): user_id=message['payload']['user_id'], project_id=message['payload']['tenant_id'], resource_id=message['payload']['snapshot_id'], - message=message)
\ No newline at end of file + message=message) |