Add event definition for manila

Since the ceilometer integration has been merged in Manila
(https://review.openstack.org/#/c/466586/) and
some work has been done for the Manila ceilometer metrics
(https://review.openstack.org/#/c/472752/), this
commit is for having the notification defined by default so we can get
all the fields from the Manila notification

Change-Id: I1050bf8d7d62fc75cfd7d800921122eb25be5c5b
This commit is contained in:
Luis Pigueiras 2017-06-29 14:21:00 +02:00
parent f53ab18125
commit e24bdf95d6

View File

@ -90,6 +90,36 @@
fields: payload.volume_type
replication_status:
fields: payload.replication_status
- event_type: ['share.create.*', 'share.delete.*', 'share.extend.*', 'share.shrink.*']
traits: &share_traits
share_id:
fields: payload.share_id
user_id:
fields: payload.user_id
project_id:
fields: payload.tenant_id
snapshot_id:
fields: payload.snapshot_id
availability_zone:
fields: payload.availability_zone
status:
fields: payload.status
created_at:
fields: payload.created_at
share_group_id:
fields: payload.share_group_id
size:
fields: payload.size
name:
fields: payload.name
proto:
fields: payload.proto
is_public:
fields: payload.is_public
description:
fields: payload.description
host:
fields: payload.host
- event_type: ['snapshot.exists', 'snapshot.create.*', 'snapshot.delete.*', 'snapshot.update.*']
traits:
<<: *cinder_traits