diff --git a/heat/engine/resources/openstack/nova/quota.py b/heat/engine/resources/openstack/nova/quota.py index c68b8a8a1a..8761da97ad 100644 --- a/heat/engine/resources/openstack/nova/quota.py +++ b/heat/engine/resources/openstack/nova/quota.py @@ -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), ], diff --git a/releasenotes/notes/deprecate-nova-quota-injected_file-properties-6c6fd7f5231e4c40.yaml b/releasenotes/notes/deprecate-nova-quota-injected_file-properties-6c6fd7f5231e4c40.yaml new file mode 100644 index 0000000000..fb77606391 --- /dev/null +++ b/releasenotes/notes/deprecate-nova-quota-injected_file-properties-6c6fd7f5231e4c40.yaml @@ -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.