Update local copy of image schema for 2.6

Update the local copy of the image schema to reflect Image API 2.6.

Change-Id: Ib0e56027927880d0fa198ffd8ea4b57e39f9d0fe
Closes-bug: #1762044
Depends-on: https://review.openstack.org/#/c/559501/
This commit is contained in:
Brian Rosmaita 2018-04-08 14:47:05 -04:00
parent 79543a67ed
commit e89fcae346
2 changed files with 6 additions and 2 deletions
glanceclient

@ -303,12 +303,15 @@ schema_fixture = {
"readOnly": True, "readOnly": True,
"description": "Status of the image", "description": "Status of the image",
"enum": [ "enum": [
"deactivated",
"queued", "queued",
"saving", "saving",
"active", "active",
"killed", "killed",
"deleted", "deleted",
"pending_delete" "pending_delete",
"uploading",
"importing"
], ],
"type": "string" "type": "string"
}, },

@ -129,7 +129,8 @@ _BASE_SCHEMA = {
}, },
"status": { "status": {
"readOnly": True, "readOnly": True,
"enum": ["queued", "saving", "active", "killed", "deleted", "enum": ["queued", "saving", "active", "killed",
"deleted", "uploading", "importing",
"pending_delete", "deactivated"], "pending_delete", "deactivated"],
"type": "string", "type": "string",
"description": "Status of the image" "description": "Status of the image"