api-ref: Fix collapse of 'host_status' description

Fix collapse of 'host_status' description in the follwoing APIs
in the compute API reference.

- PUT /servers/{server_id}
- POST /servers/{server_id}/action (rebuild)

Change-Id: I003f9a81ac6f7e0ec13a24db3fda1b7ff6612bc5
Closes-Bug: #1840094
This commit is contained in:
Takashi NATSUME 2019-08-14 10:40:31 +09:00
parent 0b290050b2
commit abfb28291a

View File

@ -3524,11 +3524,13 @@ host_status_body_in:
host_status_update_rebuild: host_status_update_rebuild:
description: | description: |
The host status. Values where next value in list can override the previous: The host status. Values where next value in list can override the previous:
- ``UP`` if nova-compute up. - ``UP`` if nova-compute up.
- ``UNKNOWN`` if nova-compute not reported by servicegroup driver. - ``UNKNOWN`` if nova-compute not reported by servicegroup driver.
- ``DOWN`` if nova-compute forced down. - ``DOWN`` if nova-compute forced down.
- ``MAINTENANCE`` if nova-compute is disabled. - ``MAINTENANCE`` if nova-compute is disabled.
- Empty string indicates there is no host for server. - Empty string indicates there is no host for server.
This attribute appears in the response only if the policy permits. This attribute appears in the response only if the policy permits.
By default, only administrators can get this parameter. By default, only administrators can get this parameter.
in: body in: body