nova/nova/tests/functional/api_sample_tests/api_samples/servers
Surya Seetharaman c541ace518 Microversion 2.73: Support adding the reason behind a server lock
This patch adds a new parameter ``locked_reason`` to
``POST /servers/{server_id}/action`` request where the
action is lock. It enables the user to specify a reason when locking
a server.

The locked_reason will be exposed through ``GET servers/{server_id}``,
``GET /servers/detail``, ``POST /servers/{server_id}/action``  where
the action is rebuild and ``PUT servers/{server_id}`` requests' responses.

The InstanceActionNotification will emit the locked_reason
along with the other instance details. This patch hence changes the
payload object to include the "locked_reason" field.

Note that "locked" will be allowed as a valid filtering/sorting parameter
for ``GET /servers/detail`` and ``GET /servers`` from this new microversion.

Implements blueprint add-locked-reason

Change-Id: I46edd595e7417c584106487123774a73c6dbe65e
2019-05-11 21:48:27 +00:00
..
v2.3 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.9 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.16 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.17 Add a REST API to trigger crash dump in an instance. 2016-01-20 09:42:50 +08:00
v2.19 api-ref: Example verification for servers.inc 2018-07-09 14:47:46 +00:00
v2.26 api-ref: Example verification for servers-actions.inc 2017-05-22 00:19:19 +00:00
v2.32 Device tagging API support 2016-06-29 20:55:16 -07:00
v2.37 Add REST API support for get me a network 2016-08-15 14:10:42 -04:00
v2.42 Fix tag attribute disappearing in 2.33 and 2.37 2017-01-30 19:38:46 -05:00
v2.45 2.45: Remove Location header from createImage and createBackup responses 2017-04-25 15:52:14 -04:00
v2.47 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.52 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.54 Enable reset keypair while rebuilding instance 2017-11-13 10:49:02 +08:00
v2.57 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.63 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.66 Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
v2.67 Add microversion 2.67 to support volume_type 2018-10-12 02:57:58 -04:00
v2.69 Add "links" in the response of "nova show" for a down-cell instance 2019-03-01 13:02:14 +00:00
v2.71 Add "links" in the response of "nova show" for a down-cell instance 2019-03-01 13:02:14 +00:00
v2.73 Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
attach-interfaces-list-resp.json.tpl Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
attach-interfaces-show-resp.json.tpl Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
availability-zone-detail-resp.json.tpl Enable all extension for remaining server API tests 2016-06-09 08:53:32 -04:00
server-action-addfloatingip-req.json.tpl Add a functional test for 'removeFloatingIp' action 2017-05-08 19:32:53 +00:00
server-action-confirm-resize.json.tpl
server-action-create-image.json.tpl
server-action-reboot.json.tpl
server-action-rebuild-resp.json.tpl Enable all extension for server actions sample tests 2016-06-09 11:13:19 +09:00
server-action-rebuild.json.tpl Enable all extension for server actions sample tests 2016-06-09 11:13:19 +09:00
server-action-removefloatingip-req.json.tpl Add a functional test for 'removeFloatingIp' action 2017-05-08 19:32:53 +00:00
server-action-resize.json.tpl Enable all extension for server actions sample tests 2016-06-09 11:13:19 +09:00
server-action-revert-resize.json.tpl
server-action-start.json.tpl
server-action-stop.json.tpl
server-create-req-v237.json.tpl Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
server-create-req-v257.json.tpl Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
server-create-req.json.tpl Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
server-create-resp.json.tpl Enable all extension for server PUT API sample tests 2016-01-28 14:06:36 +09:00
server-get-resp.json.tpl Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
server-update-req.json.tpl Enable all extension for server PUT API sample tests 2016-01-28 14:06:36 +09:00
server-update-resp.json.tpl Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
servers-details-resp.json.tpl Stop using "nova" in API samples when creating a server 2019-03-01 10:43:08 -05:00
servers-list-resp.json.tpl api-ref: Example verification for servers.inc 2018-07-09 14:47:46 +00:00
servers-list-status-resp.json.tpl api-ref: Example verification for servers.inc 2018-07-09 14:47:46 +00:00