diff options
author | Xia Linjuan <ljxiash@cn.ibm.com> | 2016-02-04 00:18:57 -0500 |
---|---|---|
committer | jizilian <jizilian@cn.ibm.com> | 2016-03-01 01:39:25 -0500 |
commit | cbf3eed761056623c5b732baf0bca5bc9ea22607 (patch) | |
tree | 3a1f062bfacdb8b411ca35af961f1b492d2930ae /etc | |
parent | d3c485c0eea992d56fe59a47d923b442785d2d5c (diff) | |
download | ceilometer-cbf3eed761056623c5b732baf0bca5bc9ea22607.tar.gz |
Enable the Load Balancer v2 events
In this change set, add the following new event definitions to
receive the events of LBaaS v2.
a. loadbalancer
b. listener
c. healthmonitor
These events can be used for billing when the users use the LBaaS
service.
Co-Authored-By: Zi Lian Ji <jizilian@cn.ibm.com>
Change-Id: I6db28a934bac4a1d83cc1b61d879dc2b16989b3a
Implements: blueprint lbaas-v2-enablement
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ceilometer/event_definitions.yaml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/etc/ceilometer/event_definitions.yaml b/etc/ceilometer/event_definitions.yaml index 763ff49f..3aa04095 100644 --- a/etc/ceilometer/event_definitions.yaml +++ b/etc/ceilometer/event_definitions.yaml @@ -243,7 +243,7 @@ fields: _context_user_id project_id: fields: _context_tenant -- event_type: ['network.*', 'subnet.*', 'port.*', 'router.*', 'floatingip.*', 'pool.*', 'vip.*', 'member.*', 'health_monitor.*', 'firewall.*', 'firewall_policy.*', 'firewall_rule.*', 'vpnservice.*', 'ipsecpolicy.*', 'ikepolicy.*', 'ipsec_site_connection.*'] +- event_type: ['network.*', 'subnet.*', 'port.*', 'router.*', 'floatingip.*', 'pool.*', 'vip.*', 'member.*', 'health_monitor.*', 'healthmonitor.*', 'listener.*', 'loadbalancer.*', 'firewall.*', 'firewall_policy.*', 'firewall_rule.*', 'vpnservice.*', 'ipsecpolicy.*', 'ikepolicy.*', 'ipsec_site_connection.*'] traits: &network_traits user_id: fields: _context_user_id @@ -294,6 +294,21 @@ <<: *network_traits resource_id: fields: ['payload.health_monitor.id', 'payload.id'] +- event_type: healthmonitor.* + traits: + <<: *network_traits + resource_id: + fields: ['payload.healthmonitor.id', 'payload.id'] +- event_type: listener.* + traits: + <<: *network_traits + resource_id: + fields: ['payload.listener.id', 'payload.id'] +- event_type: loadbalancer.* + traits: + <<: *network_traits + resource_id: + fields: ['payload.loadbalancer.id', 'payload.id'] - event_type: firewall.* traits: <<: *network_traits |