Add 'networks' quota in quota sample files
'networks' quota can be available based on config value. api-ref should show that for quota-set APIs and also sample files so that it can be tested somewhere. Also adding it to quota class APIs sample files also. Closes-Bug: #1702201 Change-Id: I84d562a8ca10826dea4675d74669b5de64ff0ed0
This commit is contained in:
committed by
Ghanshyam Mann
parent
b25b66e284
commit
e332797e42
@@ -51,6 +51,7 @@ Response
|
||||
- security_groups: security_groups_quota
|
||||
- server_groups: server_groups
|
||||
- server_group_members: server_group_members
|
||||
- networks: networks_quota_set_optional
|
||||
|
||||
**Example Show A Quota: JSON response**
|
||||
|
||||
@@ -99,6 +100,7 @@ Request
|
||||
- security_groups: security_groups_quota_optional
|
||||
- server_groups: server_groups_quota_optional
|
||||
- server_group_members: server_group_members_quota_optional
|
||||
- networks: networks_quota_set_optional
|
||||
|
||||
**Example Update Quotas: JSON request**
|
||||
|
||||
@@ -130,6 +132,7 @@ Response
|
||||
- security_groups: security_groups_quota
|
||||
- server_groups: server_groups
|
||||
- server_group_members: server_group_members
|
||||
- networks: networks_quota_set_optional
|
||||
|
||||
**Example Update Quotas: JSON response**
|
||||
|
||||
@@ -203,6 +206,7 @@ Response
|
||||
- security_groups: security_groups_quota
|
||||
- server_groups: server_groups
|
||||
- server_group_members: server_group_members
|
||||
- networks: networks_quota_set_optional
|
||||
|
||||
**Example List Default Quotas For Tenant: JSON response**
|
||||
|
||||
@@ -254,6 +258,7 @@ Response
|
||||
- security_groups: security_groups_quota_details
|
||||
- server_groups: server_groups_quota_details
|
||||
- server_group_members: server_group_members_quota_details
|
||||
- networks: networks_quota_set_optional
|
||||
|
||||
**Example Show A Quota: JSON response**
|
||||
|
||||
|
||||
@@ -3807,12 +3807,15 @@ networks:
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
networks_quota_optional:
|
||||
networks_quota_optional: &networks_quota_optional
|
||||
description: |
|
||||
The number of private networks that can be created per project.
|
||||
in: body
|
||||
required: false
|
||||
type: integer
|
||||
networks_quota_set_optional:
|
||||
<<: *networks_quota_optional
|
||||
max_version: 2.35
|
||||
new_file:
|
||||
description: |
|
||||
The name of the qcow2 file that Block Storage creates, which becomes the active
|
||||
|
||||
Reference in New Issue
Block a user