Merge "Deduplicate aggregate notification samples"

This commit is contained in:
Zuul 2018-02-01 21:26:33 +00:00 committed by Gerrit Code Review
commit d903ff5d9f
9 changed files with 25 additions and 89 deletions

View File

@ -1,17 +1,9 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#",
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": { "nova_object.data": {
"name": "my-aggregate", "hosts": ["compute"]
"metadata": {
"availability_zone": "nova"
},
"hosts": ["compute"],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
} }
}, },
"event_type": "aggregate.add_host.end", "event_type": "aggregate.add_host.end",

View File

@ -1,18 +1,7 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#"
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"hosts": [],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
}
}, },
"event_type": "aggregate.add_host.start", "event_type": "aggregate.add_host.start",
"publisher_id": "nova-api:fake-mini" "publisher_id": "nova-api:fake-mini"

View File

@ -1,18 +1,7 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#"
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"hosts": [],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
}
}, },
"event_type": "aggregate.create.end", "event_type": "aggregate.create.end",
"publisher_id": "nova-api:fake-mini" "publisher_id": "nova-api:fake-mini"

View File

@ -1,17 +1,10 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#",
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": { "nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"hosts": null, "hosts": null,
"id": null, "id": null
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
} }
}, },
"event_type": "aggregate.create.start", "event_type": "aggregate.create.start",

View File

@ -1,18 +1,7 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#"
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"hosts": [],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
}
}, },
"event_type": "aggregate.delete.end", "event_type": "aggregate.delete.end",
"publisher_id": "nova-api:fake-mini" "publisher_id": "nova-api:fake-mini"

View File

@ -1,18 +1,7 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#"
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"hosts": [],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
}
}, },
"event_type": "aggregate.delete.start", "event_type": "aggregate.delete.start",
"publisher_id": "nova-api:fake-mini" "publisher_id": "nova-api:fake-mini"

View File

@ -1,18 +1,7 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#"
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"hosts": [],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
}
}, },
"event_type": "aggregate.remove_host.end", "event_type": "aggregate.remove_host.end",
"publisher_id": "nova-api:fake-mini" "publisher_id": "nova-api:fake-mini"

View File

@ -1,17 +1,9 @@
{ {
"priority": "INFO", "priority": "INFO",
"payload": { "payload": {
"nova_object.version": "1.1", "$ref": "common_payloads/AggregatePayload.json#",
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": { "nova_object.data": {
"name": "my-aggregate", "hosts": ["compute"]
"metadata": {
"availability_zone": "nova"
},
"hosts": ["compute"],
"id": 1,
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80"
} }
}, },
"event_type": "aggregate.remove_host.start", "event_type": "aggregate.remove_host.start",

View File

@ -0,0 +1,14 @@
{
"nova_object.version": "1.1",
"nova_object.namespace": "nova",
"nova_object.name": "AggregatePayload",
"nova_object.data": {
"name": "my-aggregate",
"metadata": {
"availability_zone": "nova"
},
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80",
"hosts": [],
"id": 1
}
}