Merge "Add docker to image_schema on glance v2 cli"

This commit is contained in:
Jenkins
2016-01-14 15:24:07 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 3 deletions

View File

@@ -112,7 +112,8 @@ schema_fixture = {
"aki",
"bare",
"ovf",
"ova"
"ova",
"docker"
],
"type": [
"null",

View File

@@ -40,7 +40,8 @@ def schema_args(schema_getter, omit=None):
my_schema_getter = lambda: {
'properties': {
'container_format': {
'enum': [None, 'ami', 'ari', 'aki', 'bare', 'ovf', 'ova'],
'enum': [None, 'ami', 'ari', 'aki', 'bare', 'ovf', 'ova',
'docker'],
'type': 'string',
'description': 'Format of the container'},
'disk_format': {

View File

@@ -44,7 +44,8 @@ _BASE_SCHEMA = {
"aki",
"bare",
"ovf",
"ova"
"ova",
"docker"
],
"type": "string",
"description": "Format of the container"