Add api of report summary, get more detail of price info

Registered by Aaron DH

Now we can just get total price specify a user or a tenant by api `/v1/report/total`with available unnecessary params:(tenant_id, begin, end)

i think it's necessary to expand this api to suppor more detail price like:

-- get total rate of each tenant;
-- get total rate of each resource type;
-- get total rate of each resource and type;
-- order by rate

as sql: select tenant_id, sum(rate) from rated_data_frames group by tenant_id, res_type order by sum(rate);

Blueprint information

Status:
Complete
Approver:
Aaron DH
Priority:
High
Drafter:
Aaron DH
Direction:
Needs approval
Assignee:
Aaron DH
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Aaron DH
Completed by
Aaron DH

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/price-groupby-fields,n,z

Addressed by: https://review.openstack.org/393021
    Get total price group by res_type and tenant_id

Addressed by: https://review.openstack.org/420378
    Add client for get summary report

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.