cleanup meter table in sql backend

Registered by gordon chung

our meter table in sql contains a lot of redundant data, we should branch out repeating values: name, unit, and type.

also, we should rename tables so they reflect content correctly, namely, meter definition attributes should be in meter table and raw data be contained in sample table.

Blueprint information

Status:
Complete
Approver:
Julien Danjou
Priority:
Low
Drafter:
gordon chung
Direction:
Approved
Assignee:
gordon chung
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
gordon chung
Completed by
gordon chung

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/meter-table-sql,n,z

Addressed by: https://review.openstack.org/71691
    rename meter table to sample

Addressed by: https://review.openstack.org/65786
    sample table contains redundant/duplicate data

Addressed by: https://review.openstack.org/71688
    Alembic migrations not tested

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.