]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Notification with volume and snapshot metadata
authorwanghao <wanghao749@huawei.com>
Wed, 6 May 2015 04:08:00 +0000 (12:08 +0800)
committerwanghao <wanghao749@huawei.com>
Sat, 30 May 2015 01:14:27 +0000 (09:14 +0800)
commit7d63c25c702373ae10556c43e2ebb17e5f0e4ccc
tree11a85af9e4d5094ed58405e3721dc0280f7cc57a
parentb6681fb3fb6ad1f82e87be059ba6c605d8728368
Notification with volume and snapshot metadata

Now notify message to ceilometer do not contain volume
metadata/glance_metadata and snapshot metadata, which are
useful to bill and enrich resource information in ceilometer.

This feature will add the metadata/glance_metadata of volume
and metadata of snapshot to notification usage info.

Change-Id: I04097be9f2da1d6bc45a2d5770bcd543a3f41887
Implements: blueprint notification-with-volume-and-snapshot-metadata
cinder/tests/unit/test_volume.py
cinder/tests/unit/test_volume_utils.py
cinder/volume/utils.py