Merge "[api-ref]Fix values of service-status in list-hosts"

This commit is contained in:
Zuul 2019-09-05 00:01:57 +00:00 committed by Gerrit Code Review
commit f53b4204e3
4 changed files with 15 additions and 3 deletions

View File

@ -41,7 +41,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- service-status: service_status - service-status: host_service_status
- service: host_service - service: host_service
- zone: availability_zone_3 - zone: availability_zone_3
- service-state: service_state - service-state: service_state

View File

@ -687,6 +687,12 @@ host_service:
in: body in: body
required: true required: true
type: string type: string
host_service_status:
description: |
The status of the service. One of ``available`` or ``unavailable``.
in: body
required: true
type: string
id: id:
description: | description: |
The UUID of the volume transfer. The UUID of the volume transfer.
@ -1539,7 +1545,7 @@ service_state:
type: string type: string
service_status: service_status:
description: | description: |
The status of the service. One of ``available`` or ``unavailable``. The status of the service. One of ``enabled`` or ``disabled``.
in: body in: body
required: true required: true
type: string type: string

View File

@ -42,7 +42,7 @@ Response Parameters
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- hosts: hosts - hosts: hosts
- service-status: service_status - service-status: host_service_status
- service: host_service - service: host_service
- zone: availability_zone_required - zone: availability_zone_required
- service-state: service_state - service-state: service_state

View File

@ -1355,6 +1355,12 @@ host_service:
in: body in: body
required: true required: true
type: string type: string
host_service_status:
description: |
The status of the service. One of ``available`` or ``unavailable``.
in: body
required: true
type: string
hosts: hosts:
description: | description: |
A OpenStack Block Storage host. A OpenStack Block Storage host.