Fix quota class set APIs
v2.1 API which does not return the 'server_groups' and 'server_group_members' quotas in GET & PUT os-quota-class-sets API response. v2 API used to return those keys in API response. Also filter out the network related quotas from os-quota-class-sets APIs Fixing this with microversion. Closes-Bug: #1701211 Closes-Bug: #1693168 implement-blueprint fix-quota-classes-api Change-Id: I66aeb7a92fb5ee906fead78030bd84a2e97916e8
This commit is contained in:
committed by
Ghanshyam Mann
parent
e332797e42
commit
92e0efeefd
@@ -116,6 +116,10 @@ REST_API_VERSION_HISTORY = """REST API Version History:
|
||||
the output.
|
||||
* 2.48 - Standardize VM diagnostics info.
|
||||
* 2.49 - Support tagged attachment of network interfaces and block devices.
|
||||
* 2.50 - Exposes ``server_groups`` and ``server_group_members`` keys in
|
||||
GET & PUT ``os-quota-class-sets`` APIs response.
|
||||
Also filter out Network related quotas from
|
||||
``os-quota-class-sets`` API
|
||||
"""
|
||||
|
||||
# The minimum and maximum versions of the API supported
|
||||
@@ -124,7 +128,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
|
||||
# Note(cyeoh): This only applies for the v2.1 API once microversions
|
||||
# support is fully merged. It does not affect the V2 API.
|
||||
_MIN_API_VERSION = "2.1"
|
||||
_MAX_API_VERSION = "2.49"
|
||||
_MAX_API_VERSION = "2.50"
|
||||
DEFAULT_API_VERSION = _MIN_API_VERSION
|
||||
|
||||
# Almost all proxy APIs which related to network, images and baremetal
|
||||
|
||||
Reference in New Issue
Block a user