From 96180c8b1191834bb95caee37f384c8cf9ce2418 Mon Sep 17 00:00:00 2001 From: Zhi Yan Liu Date: Fri, 12 Dec 2014 20:55:47 +0800 Subject: [PATCH] Add an exchange for Zaqar in profiler notification plugin To enable Zaqar to use ceilometer as trace info storage. Main patch in Zaqar is: I32565de6c447cd5e95a0ef54a9fbd4e571c2d820 New option 'zaqar_control_exchange' is added to allow operator configures exchange name base on zaqar deployment for its trace data pushing up. DocImpact We prepared a common BP in oslo-spec due to integration change is similar to all projects: I29a2a59ded9e260a3d3bf79957bd49f403d8e83a The spec of osprofiler integration for zaqar is: https://review.openstack.org/#/c/135612/ Change-Id: Ib94f5d4f90956342d5b1ac183ca70179de0505f7 Signed-off-by: Zhi Yan Liu --- ceilometer/profiler/notifications.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ceilometer/profiler/notifications.py b/ceilometer/profiler/notifications.py index b3696208a..4a7a44024 100644 --- a/ceilometer/profiler/notifications.py +++ b/ceilometer/profiler/notifications.py @@ -24,6 +24,9 @@ OPTS = [ cfg.StrOpt('trove_control_exchange', default='trove', help="Exchange name for DBaaS notifications."), + cfg.StrOpt('zaqar_control_exchange', + default='zaqar', + help="Exchange name for Messaging service notifications."), ] cfg.CONF.register_opts(OPTS) @@ -52,6 +55,7 @@ class ProfilerNotifications(plugin_base.NotificationBase): conf.keystone_control_exchange, conf.sahara_control_exchange, conf.trove_control_exchange, + conf.zaqar_control_exchange, ] for exchange in exchanges: