Deduplicate service status notification samples

This patch refactors the sample files of service-create, service-delete
and service-update notifications to use a common ServiceStatusPayload
sample data.

This patch addresses the problem which lead the revert of the commit
I708ce5423806d2913e77abbe338aec970a5009dc.

Change-Id: I2f619089ae88d05207bb3432c63546a298f0bf15
This commit is contained in:
Lajos Katona
2018-01-16 12:48:30 +01:00
parent d4377c2d53
commit ab937d8e7a
4 changed files with 26 additions and 44 deletions
@@ -0,0 +1,19 @@
{
"nova_object.name": "ServiceStatusPayload",
"nova_object.namespace": "nova",
"nova_object.version": "1.1",
"nova_object.data": {
"host": "host2",
"disabled": false,
"binary": "nova-compute",
"topic": "compute",
"disabled_reason": null,
"forced_down": false,
"version": 23,
"availability_zone": null,
"uuid": "fa69c544-906b-4a6a-a9c6-c1f7a8078c73",
"last_seen_up": null,
"report_count": 0
}
}