mogan/doc/notification_samples/server-create-start.json
liusheng f6165ada3e Add more notifications for server create/delete
- Add notification for server.create.end event
- Add notification for server.create.error event
- Add notification for server.delete.start event
- Add notification for server.delete.end event

Change-Id: I9732e139fc9767a27647ff6aa65a9a9e0ceff0d3
2017-09-14 10:33:46 +08:00

35 lines
1.1 KiB
JSON

{
"event_type": "server.create.start",
"payload": {
"mogan_object.name": "ServerActionPayload",
"mogan_object.namespace": "mogan",
"mogan_object.version": "1.0",
"mogan_object.data": {
"node": "node-0",
"addresses": [],
"availability_zone": null,
"updated_at": null,
"image_uuid": "91d3f6fd-012d-4d19-8140-abfe39d1c332",
"user_id": "9851baf53c75452dad7951bca7b3dbac",
"uuid": "692ee038-a963-4308-b596-60b0338649fd",
"affinity_zone": null,
"power_state": null,
"flavor_uuid": "737ea130-153b-4599-b7b2-dc4c82480a31",
"project_id": "b5f8b7e5429449a8a1366088abede8d1",
"launched_at": null,
"metadata": {},
"status": "building",
"description": null,
"key_name": null,
"partitions": {},
"locked": false,
"name": "test",
"fault": null,
"created_at": "2017-09-13T08:36:06Z",
"locked_by": null
}
},
"priority": "INFO",
"publisher_id": "mogan-engine:localhost"
}