Merge "Add documentation for API 'validate_setup_for_nested_quota_use'"

This commit is contained in:
Jenkins 2017-10-11 14:40:10 +00:00 committed by Gerrit Code Review
commit 6ddb053944
2 changed files with 30 additions and 0 deletions

View File

@ -226,6 +226,14 @@ detail:
in: query
required: false
type: boolean
fix_allocated_quotas:
description: |
Whether to fix all the non-leaf projects' ``allocation``
attribute or raise 400 error if ``allocation`` doesn't match
the current quota usage information. Default is ``false``.
in: query
required: false
type: boolean
force_3:
description: |
To delete a QoS specification even if it is in-

View File

@ -227,3 +227,25 @@ Response Example
.. literalinclude:: ./samples/quotas-show-defaults-response.json
:language: javascript
Validate setup for nested quota
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v3/{admin_project_id}/os-quota-sets/validate_setup_for_nested_quota_use
Validate setup for nested quota, administrator should ensure that Keystone v3 or greater is
being used.
Normal response codes: 200
Error response codes: badRequest(400)
Request
-------
.. rest_parameters:: parameters.yaml
- admin_project_id: admin_project_id
- fix_allocated_quotas: fix_allocated_quotas