Fix the releasenote and api-ref for quota-class API

This patch marks the network related quota in the quota-class API
as deprecated in the 2.50 microversion. Also rewrite the release note for
2.50 microversion, change to describe the API change instead of the history.

Change-Id: Ida5518b7d43e85d9f30b11ed2819025a190aefd6
This commit is contained in:
He Jie Xu 2017-07-13 11:53:51 +08:00 committed by Alex Xu
parent 61551786a8
commit d0f91817eb
3 changed files with 18 additions and 16 deletions

View File

@ -26,7 +26,7 @@ Nova supports implicit 'default' Quota Class only.
for more details.
.. warning::
There is a bug in the v2.1 API till microversion 2.49 and
There is a bug in the v2.1 API until microversion 2.49 and
the legacy v2 compatible API which does not return the
``server_groups`` and ``server_group_members`` quotas in
GET and PUT ``os-quota-class-sets`` API response, whereas the v2 API

View File

@ -2208,6 +2208,7 @@ fixed_ips_quota_class: &fixed_ips_quota_class
in: body
required: true
type: integer
max_version: 2.50
fixed_ips_quota_class_optional:
<<: *fixed_ips_quota_class
required: false
@ -2554,6 +2555,7 @@ floating_ips_quota_class: &floating_ips_quota_class
in: body
required: true
type: integer
max_version: 2.50
floating_ips_quota_class_optional:
<<: *floating_ips_quota_class
required: false
@ -4711,6 +4713,7 @@ security_group_rules_quota_class: &security_group_rules_quota_class
in: body
required: true
type: integer
max_version: 2.50
security_group_rules_quota_class_optional:
<<: *security_group_rules_quota_class
required: false
@ -4749,6 +4752,7 @@ security_groups_quota_class: &security_groups_quota_class
in: body
required: true
type: integer
max_version: 2.50
security_groups_quota_class_optional:
<<: *security_groups_quota_class
required: false

View File

@ -1,20 +1,18 @@
---
fixes:
- |
Fix bug 1693168. v2.1 API which does not return the ``server_groups`` and
``server_group_members`` quotas in GET and PUT ``os-quota-class-sets`` API
response. v2 API used to return those keys in the API response.
Microversion 2.50 restored that behavior. In microversion 2.50, the
``server_groups`` and ``server_group_members`` keys are exposed in
GET and PUT ``os-quota-class-sets`` APIs Response body.
Fix bug 1701211. Network related quotas are filtered out of
``os-quota-class-sets`` APIs and not available from microversion
2.50 onwards.
Filtered quotas are:
In the 2.50 microversion, the following fields are added to the
``GET /os-quota-class-sets`` and ``PUT /os-quota-class-sets/{id}`` API
response:
- 'fixed_ips'
- 'floating ips'
- 'security_groups'
- 'security_group_rules'
- 'networks'
- ``server_groups``
- ``server_group_members``
And the following fields are removed from the same APIs in the same
microversion:
- ``fixed_ips``
- ``floating_ips``
- ``security_groups``
- ``security_group_rules``
- ``networks``