Merge "More strictly validate max api microversion options"
This commit is contained in:
commit
03df4d68f8
@ -192,13 +192,13 @@ engine_opts = [
|
||||
help=_('Number of times to check whether an interface has '
|
||||
'been attached or detached.')),
|
||||
cfg.StrOpt('max_nova_api_microversion',
|
||||
regex=r'^\d+\.\d+$',
|
||||
regex=r'^2\.\d+$',
|
||||
help=_('Maximum nova API version for client plugin. With '
|
||||
'this limitation, any nova feature supported with '
|
||||
'microversion number above max_nova_api_microversion '
|
||||
'will not be available.')),
|
||||
cfg.StrOpt('max_ironic_api_microversion',
|
||||
regex=r'^\d+\.\d+$',
|
||||
regex=r'^1\.\d+$',
|
||||
help=_('Maximum ironic API version for client plugin. With '
|
||||
'this limitation, any ironic feature supported with '
|
||||
'microversion number above '
|
||||
|
Loading…
x
Reference in New Issue
Block a user