nova/doc/notification_samples/instance-volume_swap-end.json
Kevin_Zheng f9bb4dcb3a Deduplicate notification samples Rocky - 4
This patch refactors the sample files of:

* instance-volume_attach-start
* instance-volume_attach-end
* instance-volume_attach-error
* instance-volume_detach-start
* instance-volume_detach-end

notifications to use a common InstanceActionVolumePayload sample data.

and refactor:

* instance-volume_swap-start
* instance-volume_swap-end
* instance-volume_swap-error

notifications to use a common InstanceActionVolumeSwapPayload sample data

Change-Id: I51fd194ac3b95be96db2676b4abf3df5a14d0faa
2018-04-17 18:56:54 +02:00

23 lines
754 B
JSON

{
"event_type": "instance.volume_swap.end",
"payload": {
"$ref": "common_payloads/InstanceActionVolumeSwapPayload.json#",
"nova_object.data": {
"block_devices": [{
"nova_object.data": {
"boot_index": null,
"delete_on_termination": false,
"device_name": "/dev/sdb",
"tag": null,
"volume_id": "227cc671-f30b-4488-96fd-7d0bf13648d8"
},
"nova_object.name": "BlockDevicePayload",
"nova_object.namespace": "nova",
"nova_object.version": "1.0"
}]
}
},
"priority": "INFO",
"publisher_id": "nova-compute:compute"
}