Use common units instead of numeric expression

Registered by ChangBo Guo(gcb)

We use numeric expression like 1024 * 1024 , or 1024 ** 2 in swift , we can use common constant units to make code more readable , We have done this in Oslo, Nova, Glance, and Cinder(in review). So let us make it in Swift.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
ChangBo Guo(gcb)
Direction:
Needs approval
Assignee:
ChangBo Guo(gcb)
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/use-common-units,n,z

Addressed by: https://review.openstack.org/76490
    Add common units constants

Addressed by: https://review.openstack.org/76523
    Replace mumeric expression with units constants

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.