Merge "Add searchlight notification driver condition"

This commit is contained in:
Jenkins 2016-12-22 21:06:29 +00:00 committed by Gerrit Code Review
commit c74e1e559b
1 changed files with 4 additions and 0 deletions

View File

@ -70,4 +70,8 @@ password = {{ neutron.db.password }}
memcached_servers = {{ address('memcached', memcached.port) }}
[oslo_messaging_notifications]
{% if searchlight is defined and (searchlight.services.neutron or searchlight.services.nova) %}
driver = {{ searchlight.notification_driver }}
{% else %}
driver = noop
{% endif %}