Merge "Put missing fields to validation schema"

This commit is contained in:
Jenkins 2015-08-06 15:08:22 +00:00 committed by Gerrit Code Review
commit 427555e397
2 changed files with 8 additions and 2 deletions

View File

@ -90,7 +90,10 @@ CLUSTER_TEMPLATE_SCHEMA = {
"type": ["string", "null"],
"format": "uuid"
},
"shares": copy.deepcopy(shares.SHARE_SCHEMA)
"shares": copy.deepcopy(shares.SHARE_SCHEMA),
"use_autoconfig": {
"type": ["boolean", "null"],
}
},
"additionalProperties": False,
"required": [

View File

@ -89,7 +89,10 @@ NODE_GROUP_TEMPLATE_SCHEMA = {
"volume_local_to_instance": {
"type": ["boolean", "null"]
},
"shares": copy.deepcopy(shares.SHARE_SCHEMA)
"shares": copy.deepcopy(shares.SHARE_SCHEMA),
"use_autoconfig": {
"type": ["boolean", "null"]
}
},
"additionalProperties": False,
"required": [