nova/doc/notification_samples/flavor-update.json
Stephen Finucane 9009d56d21 trivial: Use recognized extra specs in tests
Tests were previously using arbitrary keys that weren't published
anywhere in the codebase. Switch to using meaningful ones.

Change-Id: I8da84b48e4d630eeb91d92346aa2323e25e28e3b
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-02-19 08:24:31 +00:00

29 lines
805 B
JSON

{
"priority": "INFO",
"payload": {
"nova_object.namespace": "nova",
"nova_object.version": "1.4",
"nova_object.name": "FlavorPayload",
"nova_object.data": {
"name": "test_flavor",
"memory_mb": 1024,
"ephemeral_gb": 0,
"disabled": false,
"vcpus": 2,
"extra_specs": {
"hw:numa_nodes": "2"
},
"projects": ["fake_tenant"],
"swap": 0,
"rxtx_factor": 2.0,
"is_public": false,
"root_gb": 10,
"vcpu_weight": 0,
"flavorid": "a22d5517-147c-4147-a0d1-e698df5cd4e3",
"description":null
}
},
"event_type": "flavor.update",
"publisher_id": "nova-api:fake-mini"
}