Add 'all_tenants' for GET sec group api ref

GET /os-security-groups API accept 'all_tenants' [1]
as one of the query param to list all tenants sec groups.
But that is missing in api-ref [2]

..1
e9104dbaef/nova/network/security_group/neutron_driver.py (L178)
e9104dbaef/nova/compute/api.py (L5096)

..2 https://developer.openstack.org/api-ref/compute/#list-security-groups

Closes-Bug: #1734406

Change-Id: I2946f05716c9030f7880ac423cc64b49c04b2992
This commit is contained in:
ghanshyam 2017-11-25 04:36:57 +03:00 committed by Ghanshyam Mann
parent e9104dbaef
commit 37987ee385
2 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Request
- limit: limit_simple - limit: limit_simple
- offset: offset_simple - offset: offset_simple
- all_tenants: all_tenants_sec_grp_query
Response Response
-------- --------

View File

@ -385,6 +385,15 @@ all_tenants_query:
in: query in: query
required: false required: false
type: integer type: integer
all_tenants_sec_grp_query:
description: |
Specify the ``all_tenants`` query parameter to list all security
groups for all projects. This is only allowed for admin users.
Value of this query parameter is not checked, only presence
is considered as request for all tenants.
in: query
required: false
type: string
availability_zone_query_server: availability_zone_query_server:
description: | description: |
Filter the server list result by server availability zone. Filter the server list result by server availability zone.