Deprecate injected_file properties in Nova Quota Resource
The following properties are deprecated in nova and need to be removed from the nova quota resource. Corresponding nova PS deprecating properties: https://review.opendev.org/#/c/509013/ Change-Id: If4390977f942087a1012d609186eefc4a624d411
This commit is contained in:
parent
7b606461e1
commit
c7455722e1
@ -115,6 +115,14 @@ class NovaQuota(resource.Resource):
|
||||
properties.Schema.INTEGER,
|
||||
_('Quota for the number of injected files. '
|
||||
'Setting the value to -1 removes the limit.'),
|
||||
support_status=support.SupportStatus(
|
||||
status=support.DEPRECATED,
|
||||
version='14.0.0',
|
||||
message=_('File injection is deprecated '
|
||||
'from compute REST API '
|
||||
'OS::Nova::Quota resource will not support '
|
||||
'it in the future.')
|
||||
),
|
||||
constraints=[
|
||||
constraints.Range(min=-1),
|
||||
],
|
||||
@ -124,6 +132,14 @@ class NovaQuota(resource.Resource):
|
||||
properties.Schema.INTEGER,
|
||||
_('Quota for the number of injected file content bytes. '
|
||||
'Setting the value to -1 removes the limit.'),
|
||||
support_status=support.SupportStatus(
|
||||
status=support.DEPRECATED,
|
||||
version='14.0.0',
|
||||
message=_('File injection is deprecated '
|
||||
'from compute REST API '
|
||||
'OS::Nova::Quota resource will not support '
|
||||
'it in the future.')
|
||||
),
|
||||
constraints=[
|
||||
constraints.Range(min=-1),
|
||||
],
|
||||
@ -133,6 +149,14 @@ class NovaQuota(resource.Resource):
|
||||
properties.Schema.INTEGER,
|
||||
_('Quota for the number of injected file path bytes. '
|
||||
'Setting the value to -1 removes the limit.'),
|
||||
support_status=support.SupportStatus(
|
||||
status=support.DEPRECATED,
|
||||
version='14.0.0',
|
||||
message=_('File injection is deprecated '
|
||||
'from compute REST API '
|
||||
'OS::Nova::Quota resource will not support '
|
||||
'it in the future.')
|
||||
),
|
||||
constraints=[
|
||||
constraints.Range(min=-1),
|
||||
],
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- file injection is deprecated in compute api. Deprecating injected_files,
|
||||
injected_file_content_bites, and injected_file_path_bytes properties
|
||||
accordingly in OS::Nova::Quota resource.
|
Loading…
Reference in New Issue
Block a user