Merge "update description for Change Node Power State"

This commit is contained in:
Zuul 2017-11-15 12:30:02 +00:00 committed by Gerrit Code Review
commit 6771fc53e2
2 changed files with 8 additions and 1 deletions

View File

@ -302,6 +302,13 @@ Request a change to the Node's power state.
Normal response code: 202 (Accepted)
.. versionadded:: 1.27
In the request, the ``target`` value can also be one of ``soft power off``
or ``soft rebooting``.
.. versionadded:: 1.27
In the request, a ``timeout`` can be specified.
Error codes:
- 409 (NodeLocked, ClientError)
- 400 (Invalid, InvalidStateRequested, InvalidParameterValue)

View File

@ -873,7 +873,7 @@ power_state:
type: string
power_timeout:
description: |
Timeout for a power state transition.
Timeout (in seconds) for a power state transition.
in: body
required: false
type: integer