Glance api v2 support size verify

Registered by YaoZheng_ZTE on 2016-05-30

Now, glance V1 api can check image size is correct or not. In v2 api, glance image-upload api can receive the ‘size’ parameter . But the process does not verify this parameter. The integrity check of the image is not supported on the basis of the size verification. So, In v2 api , we should support this verify.
In addition, in v2 api image-create also can upload image data by --file parameter. But this api no parameter support input "--size", so v2 api image-create also should support --size parameter.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
YaoZheng_ZTE
Direction:
Needs approval
Assignee:
YaoZheng_ZTE
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.