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
This commit is contained in:
committed by
Balazs Gibizer
parent
71ee33c124
commit
f9bb4dcb3a
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$ref": "InstanceActionPayload.json",
|
||||
"nova_object.data":{
|
||||
"volume_id": "a07f71dc-8151-4e7d-a0cc-cd24a3f11113"
|
||||
},
|
||||
"nova_object.name": "InstanceActionVolumePayload",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.version": "1.3"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$ref": "InstanceActionPayload.json",
|
||||
"nova_object.data": {
|
||||
"new_volume_id": "227cc671-f30b-4488-96fd-7d0bf13648d8",
|
||||
"old_volume_id": "a07f71dc-8151-4e7d-a0cc-cd24a3f11113"
|
||||
},
|
||||
"nova_object.name": "InstanceActionVolumeSwapPayload",
|
||||
"nova_object.namespace": "nova",
|
||||
"nova_object.version": "1.5"
|
||||
}
|
||||
Reference in New Issue
Block a user