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

This commit is contained in:
Jenkins 2017-07-17 17:28:41 +00:00 committed by Gerrit Code Review
commit 56c4d684bf
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

@ -2227,6 +2227,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
@ -2573,6 +2574,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
@ -4731,6 +4733,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
@ -4769,6 +4772,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``