Remove API change for supported power states

This patch removes an API change to expose supported power states from
the SPEC to support soft shutdown and NMI injection. This API change
will be discussed with another RFE.

Change-Id: Ibff36165b9e6dedeef16e98fed60d85213b6581c
Closes-Bug: 1526226
Related-Bug: 1734827
This commit is contained in:
Hironori Shiina 2017-11-28 17:17:08 +09:00
parent dbf12ea763
commit 044a6a04a2

View File

@ -249,50 +249,6 @@ REST API impact
{"target": "soft power off",
"timeout": 600}
* Add a new "supported_power_states" member to the return type Node
and NodeStates, and enhance the following APIs::
GET /v1/nodes/(node_ident)
GET /v1/nodes/(node_ident)/states
JSON example of the returned type NodeStates
{
"console_enabled": false,
"last_error": null,
"power_state": "power on",
"provision_state": null,
"provision_updated_at": null,
"target_power_state": "soft power off",
"target_provision_state": "active",
"supported_power_states": [
"power on",
"power off",
"rebooting",
"soft rebooting",
"soft power off"
]
}
Consequently Ironic CLI "ironic node-show" and "ironic node-show-states"
return "supported_power_states" member in the table format.
example of "ironic node-show-states"
+------------------------+----------------------------------------+
| Property | Value |
+------------------------+----------------------------------------+
| target_power_state | soft power off |
| target_provision_state | None |
| last_error | None |
| console_enabled | False |
| provision_updated_at | 2015-08-01T00:00:00+00:00 |
| power_state | power on |
| provision_state | active |
| supported_power_states | ["power on", "power off", "rebooting", |
| | "soft rebooting", "soft power off"] |
+------------------------+----------------------------------------+
* Add a new management API to support inject NMI::
PUT /v1/nodes/(node_ident)/management/inject_nmi