nova/doc/notification_samples/instance-update.json
Kevin_Zheng 586a18ab32 Deduplicate notification samples Rocky - 7
This patch refactors the sample files of:

* instance-update
* instance-update-tags

notifications to use a common InstanceUpdatePayload sample data.

Change-Id: I8720556ed8a9ce7f1db165a793fbb7070954cc5a
2018-04-19 20:33:17 +08:00

23 lines
727 B
JSON

{
"event_type": "instance.update",
"payload": {
"$ref":"common_payloads/InstanceUpdatePayload.json#",
"nova_object.data": {
"ip_addresses": [],
"updated_at": null,
"power_state": "pending",
"launched_at": null,
"task_state": "scheduling",
"state_update": {
"nova_object.data": {
"old_state": "building",
"state": "building"},
"nova_object.name": "InstanceStateUpdatePayload",
"nova_object.namespace": "nova",
"nova_object.version": "1.0"}
}
},
"priority": "INFO",
"publisher_id": "nova-compute:fake-mini"
}