diff --git a/templates/neutron.conf.j2 b/templates/neutron.conf.j2 index 6cfbb984..0cab1854 100644 --- a/templates/neutron.conf.j2 +++ b/templates/neutron.conf.j2 @@ -227,7 +227,7 @@ rpc_conn_pool_size = {{ neutron_rpc_conn_pool_size }} {% set _ = notification_topics.append(neutron_notifications_designate) %} {% endif %} topics = {{ notification_topics | join(',') }} -driver = messagingv2 +driver = {{ (neutron_ceilometer_enabled | bool) | 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)