Merge "API validation: Use cinder_host for services checks"

This commit is contained in:
Zuul 2021-03-17 14:28:28 +00:00 committed by Gerrit Code Review
commit 5e632f3ea8
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ enable_and_disable = {
'type': 'object',
'properties': {
'binary': {'type': 'string', 'minLength': 1, 'maxLength': 255},
'host': parameter_types.hostname,
'host': parameter_types.cinder_host,
'cluster': parameter_types.nullable_string,
'service': {'type': 'string', 'minLength': 1, 'maxLength': 255},
},
@ -67,7 +67,7 @@ freeze_and_thaw = {
'type': 'object',
'properties': {
'cluster': parameter_types.nullable_string,
'host': parameter_types.hostname,
'host': parameter_types.cinder_host,
},
'additionalProperties': False,
}
@ -76,7 +76,7 @@ freeze_and_thaw = {
failover_host = {
'type': 'object',
'properties': {
'host': parameter_types.hostname,
'host': parameter_types.cinder_host,
'backend_id': parameter_types.nullable_string,
'cluster': parameter_types.nullable_string,
},