summaryrefslogtreecommitdiff
path: root/doc/notification_samples/common_payloads/InstanceCreatePayload.json
Commit message (Collapse)AuthorAgeFilesLines
* Microversion 2.73: Support adding the reason behind a server lockSurya Seetharaman2019-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* The field instance_name was added to InstanceCreatePayloadIfat Afek2019-01-151-2/+3
| | | | | | | | The field instance_name was missing from Nova instance notifications. It was added to instance.create.* notifications, as discussed in: http://lists.openstack.org/pipermail/openstack-discuss/2018-December/001141.html Change-Id: I52f3186d1bcda0c23a471f9bfd2c55763262658f
* Add action initiator attribute to the instance payloadshuangyang.qian2018-07-031-1/+1
| | | | | | | | | | | | | | | The instance action notifications contain the user id and the project id of the owner of the instance. However an instance action might be initiated by another user. It could be another user from the same project or can be an admin from the admin project. To be able to distinguish between the user who initiated the instance action from the user owning the instance we need to add two new fields to the instance action notifications, action_initiator_user and action_initiator_project Change-Id: I649d8a27baa8840bc1bb567fef027c749c663432 Closes-bug: #1744658 Blueprint: add-action-initiator-to-instance-action-notifications
* Add notification support for trusted_certsBrianna Poulos2018-06-141-2/+6
| | | | | | | Add the 'trusted_image_certificates' field to InstanceCreatePayload and InstanceActionRebuildPayload notifications. Change-Id: Ib5b50a3889ab15d5aac992f92e9be372a915eeff
* Add request_id to instance action notificationsKevin_Zheng2018-04-191-1/+1
| | | | | | | | | | | | | | | | | | | As it was agreed on the Rocky PTG [1] it is useful to have the request_id of in the payload of every instance action versioned notification. For example it could help the deployer connect the state change described in the notification with the user action, the request, on the REST API. So this patch proposes to extend the InstanceActionPayload versioned object with a new request_id field and populate the request_id from the context object used for emitting the instance action notifications. [1] https://etherpad.openstack.org/p/nova-ptg-rocky L391 Implements: bp add-request-id-to-instance-action-notifications Change-Id: I7243b60938d6e9c7c2bc2aacdba5c667cca8ec9b
* Deduplicate instance.create notification samplesBalazs Gibizer2017-11-281-0/+23
This patch refactors the sample files of instance.create notifications. As these notifications use a different payload class as the most of the instance notifications a new common payload sample fragment was also needed. Change-Id: I7a8e9507ee30d404e075a46e48070a0f94276e33