[Openstack] Cloudkitty pricing- SWIFT

Stéphane Albert sheeprine-ml at nullplace.com
Thu Dec 24 13:35:50 UTC 2015


On Tue, Dec 22, 2015 at 04:12:03PM +0530, murali wrote:
> Hello All,
> 
> I need to add the rating option in Cloudkitty based on the Cloud Storage
> (Swift)
> 
> That is based on the Gigabytes used charge is needs to be done.
> 
> Is there is any options available for the same?
> 
> Could someone le me know your thoughts.?
Hi,

There is no support for Swift in CloudKitty at the moment, but it should
be trivial to add it.
You can modify the ceilometer collector and add a new method reporting
object storage data. If you want an idea of how to do it, refer to
existing ones.

Here is the volume (cinder) one:
https://git.openstack.org/cgit/openstack/cloudkitty/tree/cloudkitty/collector/ceilometer.py#n209

When you are done send the patch to review, so we can add the feature in
next version.

Thanks




More information about the Openstack mailing list