nova/doc/notification_samples/instance-resize_finish-start.json
Kevin_Zheng fda3cdeb5f Deduplicate notification samples Rocky - 2
This patch refactors the sample files of:

* instance-resize-start
* instance-resize-end
* instance-resize-error
* instance-resize_finish-start
* instance-resize_finish-end

notifications to use a common InstanceActionPayload sample data.

Change-Id: I4b3728a18d604f07ebffe45eec457e47bba98b7e
2018-04-16 09:21:19 +08:00

20 lines
601 B
JSON

{
"event_type":"instance.resize_finish.start",
"payload":{
"$ref": "common_payloads/InstanceActionPayload.json#",
"nova_object.data":{
"flavor": {
"nova_object.data": {
"name": "other_flavor",
"flavorid": "d5a8bb54-365a-45ae-abdb-38d249df7845",
"extra_specs": {"hw:watchdog_action": "reset"},
"memory_mb": 256
}
},
"task_state": "resize_finish"
}
},
"priority":"INFO",
"publisher_id":"nova-compute:compute"
}