3f52a4aba8
Currently, quotas_client.QuotasClient doesn't support the 'os-quota-sets/{tenant_id}/detail' endpoint [0] but is supported by Nova [1]. Nova uses the policy 'os_compute_api:os-quota-sets:detail' for the endpoint ending with /detail and 'os_compute_api:os-quota-sets:show' without the /detail uri [2]. This is needed by Patrole for complete test coverage for Nova. This patch adds the kwarg to show_quota_set which calls the '/detail' endpoint, if True. Also updated quotas schema with get_quota_set_details, because each property in the response body is of type object, not integer [1]. [0] https://github.com/openstack/tempest/blob/master/tempest/lib/services/compute/quotas_client.py [1] https://developer.openstack.org/api-ref/compute/?expanded=show-the-detail-of-quota-detail#show-the-detail-of-quota [2] https://github.com/openstack/nova/blob/master/nova/policies/quota_sets.py Change-Id: I9a65411c6bf65bf20842719bffe46c7fa7db82eb Closes-Bug: #1662593
7 lines
229 B
YAML
7 lines
229 B
YAML
---
|
|
features:
|
|
- |
|
|
Interface show_quota_set of compute quotas_client has been extended to include the
|
|
argument "detail", which allows for detailed quota set information for a project to be
|
|
retrieved, if set to True.
|