da0e385c4b
This patch refactors the sample files of instance.interface_attach and interface_detach notifications to use the previously introduced common sample data. Change-Id: I74396b680f35290e32f667d2ddba227e1cbbab2f
41 lines
1.5 KiB
JSON
41 lines
1.5 KiB
JSON
{
|
|
"priority": "INFO",
|
|
"event_type": "instance.interface_detach.start",
|
|
"payload": {
|
|
"$ref":"common_payloads/InstanceActionPayload.json#",
|
|
"nova_object.data":{
|
|
"ip_addresses": [
|
|
{
|
|
"nova_object.data": {
|
|
"device_name": "tapce531f90-19",
|
|
"address": "192.168.1.3",
|
|
"version": 4,
|
|
"label": "private-network",
|
|
"port_uuid": "ce531f90-199f-48c0-816c-13e38010b442",
|
|
"mac": "fa:16:3e:4c:2c:30",
|
|
"meta": {}
|
|
},
|
|
"nova_object.name": "IpPayload",
|
|
"nova_object.namespace": "nova",
|
|
"nova_object.version": "1.0"
|
|
},
|
|
{
|
|
"nova_object.data": {
|
|
"device_name": "tap88dae9fa-0d",
|
|
"address": "192.168.1.30",
|
|
"version": 4,
|
|
"label": "private-network",
|
|
"port_uuid": "88dae9fa-0dc6-49e3-8c29-3abc41e99ac9",
|
|
"mac": "00:0c:29:0d:11:74",
|
|
"meta": {}
|
|
},
|
|
"nova_object.name": "IpPayload",
|
|
"nova_object.namespace": "nova",
|
|
"nova_object.version": "1.0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"publisher_id": "nova-compute:compute"
|
|
}
|