Enable notifications when Designate is enabled
Change-Id: I92780df25e02dd1125e53a3633715fcf948a47d9
This commit is contained in:
parent
4480a53b20
commit
e3f04ef863
@ -225,12 +225,15 @@ rpc_conn_pool_size = {{ neutron_rpc_conn_pool_size }}
|
||||
|
||||
# Notifications
|
||||
[oslo_messaging_notifications]
|
||||
{% set notification_topics = ['notifications'] %}
|
||||
{% set notification_topics = [] %}
|
||||
{% if neutron_ceilometer_enabled %}
|
||||
{% set _ = notification_topics.append('notifications') %}
|
||||
{% endif %}
|
||||
{% if neutron_designate_enabled %}
|
||||
{% set _ = notification_topics.append(neutron_notifications_designate) %}
|
||||
{% endif %}
|
||||
topics = {{ notification_topics | join(',') }}
|
||||
driver = {{ (neutron_ceilometer_enabled | bool) | ternary('messagingv2', 'noop') }}
|
||||
driver = {{ (notification_topics | length > 0) | ternary('messagingv2', 'noop') }}
|
||||
transport_url = {{ neutron_oslomsg_notify_transport }}://{% for host in neutron_oslomsg_notify_servers.split(',') %}{{ neutron_oslomsg_notify_userid }}:{{ neutron_oslomsg_notify_password }}@{{ host }}:{{ neutron_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ neutron_oslomsg_notify_vhost }}{% if neutron_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||
|
||||
# Concurrency (locking mechanisms)
|
||||
|
Loading…
Reference in New Issue
Block a user