nova/doc/notification_samples/instance-lock.json
Yikun Jiang 102cdb9315 Add instance.lock notification
The instance.lock versioned notification is introduced in this
patch.

The lock operation just changes the instance.locked to True in
API, we send the notification after db operation.

Change-Id: I03a13afa91c29f4fee25336cb82ea5c887eae2f8
blueprint: trigger-notifications-when-lock-unlock-instances
2018-06-21 10:29:31 +08:00

12 lines
252 B
JSON

{
"event_type":"instance.lock",
"payload":{
"$ref": "common_payloads/InstanceActionPayload.json#",
"nova_object.data":{
"locked":true
}
},
"priority":"INFO",
"publisher_id":"nova-api:fake-mini"
}