Adding Billing in Ceilometer

Registered by Pooja Tiwari

This blueprint aims for providing the admin user of a private cloud facility to view usage and billing details for the spawned instances. Admin can view project-wise billing details of each instance of that project. Usage of resources by the instances will be measured in terms of disk usage, network usage and CPU usage. Total cost for each project will be calculated. Admin user can create rate plans. Rate plans will define charges based on usage by the instance. Any rate plans can be applied for any instance to calculate its billing cost. There will be a default rate plan that will be applied to an instance if admin does not specify explicity which rate plan has to be used. For getting the billing deatils for each tenant/instance we will add more Ceilometer API. Ceilometer will measure usage of resources in terms of disk usage, network usage and CPU usage.

Blueprint information

Status:
Complete
Approver:
Julien Danjou
Priority:
Undefined
Drafter:
Pooja Tiwari
Direction:
Needs approval
Assignee:
Pooja Tiwari
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
gordon chung

Related branches

Sprints

Whiteboard

I love the feature, but how to implement the BP, can someone provide some clue about it. --lawrancejing(2014.07.29)

Hi lawrancejing, thanks for comment. We are planning to Add API calls for billing in ceilometer.Please refer this wiki page for more details: https://wiki.openstack.org/wiki/Ceilometer/blueprints/Add_Billing_in_Ceilometer
Please feel free to give your ideas and suggestions. --Pooja Tiwari(2014.07.29)

We at Zurich university of Applied Sciences already have a python project in open source (Apache 2 Licensing) that does rating-charging-billing over ceilometer, it is called cyclops: https://github.com/icclab/cyclops-web & https://github.com/icclab/cyclops-tmanager . A demo video from really early days of the project is here: https://www.youtube.com/watch?v=ZIwwVxqCio0 and since this video was made, several bug fixes and features were added. The idea presentation was done at Swiss Open Cloud Day at Bern and the talk slides can be accessed here: http://piyush-harsh.info/content/ocd-bern2014.pdf -- Piyush Harsh (2014.07.31)

Regarding billing APIs, there is some work also ongoing in the OCCI standardization committee and maybe it will be a good idea to align the APIs with those. Me and my team will be happy to collaborate with you in this effort if you so desire --Piyush Harsh (2014.07.31)

Thanks Pooja, sorry for for the later response, maybe we can work together with the BP:) ----lawrancejing(2014.08.28)

is this being worked on? this should really be proposed in ceilometer-specs (https://github.com/openstack/ceilometer-specs) so that it gets input as that is the process for proposing features. -- gordc (10.7.15)

marking this superseded, you may want to sync up with CloudKitty Team (http://cloudkitty.readthedocs.org/en/latest/) please reopen as a spec if you still are working on this for Ceilometer. -- gordc (5.10.15)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.