Merge "Add reource_name for zone_migration in action input parameter field"

This commit is contained in:
Zuul
2019-07-12 02:19:15 +00:00
committed by Gerrit Code Review
3 changed files with 141 additions and 66 deletions

View File

@@ -87,6 +87,10 @@ class VolumeMigrate(base.BaseAction):
"([a-fA-F0-9]){4}-([a-fA-F0-9]){4}-"
"([a-fA-F0-9]){12}$")
},
'resource_name': {
'type': 'string',
"minlength": 1
},
'migration_type': {
'type': 'string',
"enum": ["swap", "retype", "migrate"]