api-ref: Fix security groups parameters
The security groups parameters are optional in the response of the following APIs. - GET /servers/detail - GET /servers/{server_id} - PUT /servers/{server_id} - POST /servers/{server_id}/action (rebuild) So fix them. Change-Id: Icc2315fd8b8c085de9d560de6ddf4c05aaaf6acb Closes-Bug: #1846656
This commit is contained in:
parent
2c6542948f
commit
a7c3108bf7
@ -6046,11 +6046,17 @@ security_groups_obj:
|
||||
in: body
|
||||
required: true
|
||||
type: array
|
||||
security_groups_obj_optional:
|
||||
description: |
|
||||
One or more security groups objects.
|
||||
in: body
|
||||
required: false
|
||||
type: array
|
||||
security_groups_obj_update_rebuild:
|
||||
description: |
|
||||
One or more security groups objects.
|
||||
in: body
|
||||
required: true
|
||||
required: false
|
||||
type: array
|
||||
min_version: 2.75
|
||||
security_groups_quota:
|
||||
|
@ -634,8 +634,6 @@ Response
|
||||
- os-extended-volumes:volumes_attached.delete_on_termination: os-extended-volumes:volumes_attached.delete_on_termination
|
||||
- OS-SRV-USG:launched_at: OS-SRV-USG:launched_at
|
||||
- OS-SRV-USG:terminated_at: OS-SRV-USG:terminated_at
|
||||
- security_groups: security_groups_obj
|
||||
- security_group.name: name
|
||||
- status: server_status
|
||||
- tenant_id: tenant_id_body
|
||||
- updated: updated
|
||||
@ -646,6 +644,8 @@ Response
|
||||
- fault.message: fault_message
|
||||
- fault.details: fault_details
|
||||
- progress: progress
|
||||
- security_groups: security_groups_obj_optional
|
||||
- security_group.name: name
|
||||
- servers_links: servers_links
|
||||
- OS-EXT-SRV-ATTR:hostname: server_hostname
|
||||
- OS-EXT-SRV-ATTR:reservation_id: server_reservation_id
|
||||
@ -758,8 +758,6 @@ Response
|
||||
- os-extended-volumes:volumes_attached.delete_on_termination: os-extended-volumes:volumes_attached.delete_on_termination
|
||||
- OS-SRV-USG:launched_at: OS-SRV-USG:launched_at
|
||||
- OS-SRV-USG:terminated_at: OS-SRV-USG:terminated_at
|
||||
- security_groups: security_groups_obj
|
||||
- security_group.name: name
|
||||
- status: server_status
|
||||
- tenant_id: tenant_id_body
|
||||
- updated: updated
|
||||
@ -770,6 +768,8 @@ Response
|
||||
- fault.message: fault_message
|
||||
- fault.details: fault_details
|
||||
- progress: progress
|
||||
- security_groups: security_groups_obj_optional
|
||||
- security_group.name: name
|
||||
- OS-EXT-SRV-ATTR:hostname: server_hostname
|
||||
- OS-EXT-SRV-ATTR:reservation_id: server_reservation_id
|
||||
- OS-EXT-SRV-ATTR:launch_index: server_launch_index
|
||||
|
Loading…
Reference in New Issue
Block a user