Add old vm state for compute.instance.update

In compute.instance.update event, Nova reports old vm state in
payload.old_state, add this field to traits.

Change-Id: Id8266fae47b6fd7119000c9da6d71f035a20477a
This commit is contained in:
zhang-shaoman 2016-12-07 11:02:47 +08:00
parent e21f4e735b
commit 0120d98528

View File

@ -47,6 +47,11 @@
deleted_at:
type: datetime
fields: payload.deleted_at
- event_type: compute.instance.update
traits:
<<: *instance_traits
old_state:
fields: payload.old_state
- event_type: compute.instance.exists
traits:
<<: *instance_traits