diff --git a/api-ref/source/os-quota-class-sets.inc b/api-ref/source/os-quota-class-sets.inc index 97932e80b2..c3b771ad2b 100644 --- a/api-ref/source/os-quota-class-sets.inc +++ b/api-ref/source/os-quota-class-sets.inc @@ -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 diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index f3d0b8b7dd..6d4f1dbceb 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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 diff --git a/releasenotes/notes/add-server-groups-keys-in-quota-class-set-response-4a91ef4b2683e31c.yaml b/releasenotes/notes/add-server-groups-keys-in-quota-class-set-response-4a91ef4b2683e31c.yaml index d49c5680b9..b46103dded 100644 --- a/releasenotes/notes/add-server-groups-keys-in-quota-class-set-response-4a91ef4b2683e31c.yaml +++ b/releasenotes/notes/add-server-groups-keys-in-quota-class-set-response-4a91ef4b2683e31c.yaml @@ -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``