Expanded event_definitions to UsageHandler required traits.
Otherwise the CUF Yagi handler will not be able to create and publish the CUF records. Change-Id: Iaac5aaee7d6c17ee58a26f9a64d8fd7148b44b80
This commit is contained in:
parent
74fd693f51
commit
5b17594ce2
@ -57,12 +57,20 @@
|
|||||||
fields: payload.instance_type
|
fields: payload.instance_type
|
||||||
state:
|
state:
|
||||||
fields: payload.state
|
fields: payload.state
|
||||||
|
state_description:
|
||||||
|
fields: payload.state_description
|
||||||
|
bandwidth_in:
|
||||||
|
fields: payload.bandwidth.public.bw_in
|
||||||
|
bandwidth_out:
|
||||||
|
fields: payload.bandwidth.public.bw_out
|
||||||
os_architecture:
|
os_architecture:
|
||||||
fields: payload.image_meta.'org.openstack__1__architecture'
|
fields: payload.image_meta.'org.openstack__1__architecture'
|
||||||
os_version:
|
os_version:
|
||||||
fields: payload.image_meta.'org.openstack__1__os_version'
|
fields: payload.image_meta.'org.openstack__1__os_version'
|
||||||
os_distro:
|
os_distro:
|
||||||
fields: payload.image_meta.'org.openstack__1__os_distro'
|
fields: payload.image_meta.'org.openstack__1__os_distro'
|
||||||
|
rax_options:
|
||||||
|
fields: payload.image_meta.'com.rackspace__1__options'
|
||||||
launched_at:
|
launched_at:
|
||||||
type: datetime
|
type: datetime
|
||||||
fields: payload.launched_at
|
fields: payload.launched_at
|
||||||
@ -71,6 +79,9 @@
|
|||||||
fields:
|
fields:
|
||||||
- payload.deleted_at
|
- payload.deleted_at
|
||||||
- payload.terminated_at
|
- payload.terminated_at
|
||||||
|
display_name:
|
||||||
|
fields: payload.display_name
|
||||||
|
|
||||||
- event_type: compute.instance.exists
|
- event_type: compute.instance.exists
|
||||||
traits:
|
traits:
|
||||||
<<: *instance_traits
|
<<: *instance_traits
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- event_type: compute.instance.*
|
- event_type: compute.instance.*
|
||||||
traits: &instance_traits
|
traits: &instance_traits
|
||||||
tenant_id:
|
tenant_id:
|
||||||
@ -56,12 +57,20 @@
|
|||||||
fields: payload.instance_type
|
fields: payload.instance_type
|
||||||
state:
|
state:
|
||||||
fields: payload.state
|
fields: payload.state
|
||||||
|
state_description:
|
||||||
|
fields: payload.state_description
|
||||||
|
bandwidth_in:
|
||||||
|
fields: payload.bandwidth.public.bw_in
|
||||||
|
bandwidth_out:
|
||||||
|
fields: payload.bandwidth.public.bw_out
|
||||||
os_architecture:
|
os_architecture:
|
||||||
fields: payload.image_meta.'org.openstack__1__architecture'
|
fields: payload.image_meta.'org.openstack__1__architecture'
|
||||||
os_version:
|
os_version:
|
||||||
fields: payload.image_meta.'org.openstack__1__os_version'
|
fields: payload.image_meta.'org.openstack__1__os_version'
|
||||||
os_distro:
|
os_distro:
|
||||||
fields: payload.image_meta.'org.openstack__1__os_distro'
|
fields: payload.image_meta.'org.openstack__1__os_distro'
|
||||||
|
rax_options:
|
||||||
|
fields: payload.image_meta.'com.rackspace__1__options'
|
||||||
launched_at:
|
launched_at:
|
||||||
type: datetime
|
type: datetime
|
||||||
fields: payload.launched_at
|
fields: payload.launched_at
|
||||||
@ -70,6 +79,9 @@
|
|||||||
fields:
|
fields:
|
||||||
- payload.deleted_at
|
- payload.deleted_at
|
||||||
- payload.terminated_at
|
- payload.terminated_at
|
||||||
|
display_name:
|
||||||
|
fields: payload.display_name
|
||||||
|
|
||||||
- event_type: compute.instance.exists
|
- event_type: compute.instance.exists
|
||||||
traits:
|
traits:
|
||||||
<<: *instance_traits
|
<<: *instance_traits
|
||||||
|
Loading…
Reference in New Issue
Block a user