Add an exchange for Trove in profiler notification plugin
To enable Trove to use ceilometer as trace info storage. Main patch in Trove is: I580cce8d2b3c4ec9ce625ac09de6f14e1249f6f5 Patch in Trove client is: I5a76e11d428c63d33f6d2c2021426090ebf8340c Change-Id: Idce1c327c6d21a767c612c13c1ad52a794017d71 Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
This commit is contained in:
parent
1bd4a3fb41
commit
7e429a87dd
@ -20,6 +20,13 @@ from ceilometer import plugin
|
||||
from ceilometer import sample
|
||||
|
||||
|
||||
OPTS = [
|
||||
cfg.StrOpt('trove_control_exchange',
|
||||
default='trove',
|
||||
help="Exchange name for DBaaS notifications"),
|
||||
]
|
||||
|
||||
cfg.CONF.register_opts(OPTS)
|
||||
# TODO(boris-42): remove after adding keystone audit plugins.
|
||||
cfg.CONF.import_opt('keystone_control_exchange',
|
||||
'ceilometer.identity.notifications')
|
||||
@ -44,6 +51,7 @@ class ProfilerNotifications(plugin.NotificationBase):
|
||||
conf.heat_control_exchange,
|
||||
conf.keystone_control_exchange,
|
||||
conf.sahara_control_exchange,
|
||||
conf.trove_control_exchange,
|
||||
]
|
||||
|
||||
for exchange in exchanges:
|
||||
|
Loading…
x
Reference in New Issue
Block a user