Put missing fields to validation schema

Field use_autoconfig is missing in the cluster templates and node groups
validation schema, so it should be added.

Change-Id: Idaf25374dc0a668d413a852c001cc36ec2313afd
Closes-bug: 1479035
This commit is contained in:
Vitaly Gridnev 2015-07-30 01:34:41 +03:00
parent 18552b720b
commit 3281d1dc58
2 changed files with 8 additions and 2 deletions

View File

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

View File

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