Add possibility to configure notification queues
It's required, because we should send notifications both to heka remote collector and ceilometer notification agent Change-Id: I64abc974260d9eae7ec991e841e32afac58792ac
This commit is contained in:
parent
297b599318
commit
8b40d81135
|
@ -66,7 +66,13 @@ rpc_thread_pool_size = {{ agent.message_queue.rpc_thread_pool_size }}
|
|||
# AMQP topic used for OpenStack notifications. (list value)
|
||||
# Deprecated group/name - [rpc_notifier2]/topics
|
||||
#notification_topics = notifications
|
||||
{%- if agent.notification.topics is defined %}
|
||||
notification_topics = {{ agent.notification.topics }}
|
||||
{%- else %}
|
||||
notification_topics = notifications
|
||||
{%- endif %}
|
||||
|
||||
|
||||
|
||||
# Seconds to wait for a response from a call. (integer value)
|
||||
#rpc_response_timeout = 60
|
||||
|
|
|
@ -66,7 +66,13 @@ rpc_thread_pool_size = {{ server.message_queue.rpc_thread_pool_size }}
|
|||
# AMQP topic used for OpenStack notifications. (list value)
|
||||
# Deprecated group/name - [rpc_notifier2]/topics
|
||||
#notification_topics = notifications
|
||||
|
||||
{%- if server.notification.topics is defined %}
|
||||
notification_topics = {{ server.notification.topics }}
|
||||
{%- else %}
|
||||
notification_topics = notifications
|
||||
{%- endif %}
|
||||
|
||||
|
||||
# Seconds to wait for a response from a call. (integer value)
|
||||
#rpc_response_timeout = 60
|
||||
|
|
|
@ -66,7 +66,11 @@ rpc_thread_pool_size = {{ agent.message_queue.rpc_thread_pool_size }}
|
|||
# AMQP topic used for OpenStack notifications. (list value)
|
||||
# Deprecated group/name - [rpc_notifier2]/topics
|
||||
#notification_topics = notifications
|
||||
{%- if agent.notification.topics is defined %}
|
||||
notification_topics = {{ agent.notification.topics }}
|
||||
{%- else %}
|
||||
notification_topics = notifications
|
||||
{%- endif %}
|
||||
|
||||
# Seconds to wait for a response from a call. (integer value)
|
||||
#rpc_response_timeout = 60
|
||||
|
|
|
@ -66,7 +66,11 @@ rpc_thread_pool_size = {{ server.message_queue.rpc_thread_pool_size }}
|
|||
# AMQP topic used for OpenStack notifications. (list value)
|
||||
# Deprecated group/name - [rpc_notifier2]/topics
|
||||
#notification_topics = notifications
|
||||
{%- if server.notification.topics is defined %}
|
||||
notification_topics = {{ server.notification.topics }}
|
||||
{%- else %}
|
||||
notification_topics = notifications
|
||||
{%- endif %}
|
||||
|
||||
# Seconds to wait for a response from a call. (integer value)
|
||||
#rpc_response_timeout = 60
|
||||
|
|
Loading…
Reference in New Issue