Add searchlight notification driver condition
Add condition to neutron conf to update oslo_messaging_notifications/driver to searchlight required value if searchlight is listening neutron. Also, due to [1], need to override driver if searchlight is listening nova. [1] http://docs.openstack.org/developer/searchlight/plugins/nova.html#neutron-configuration Change-Id: I4abbbd7a35d34212c8eab9736a3639b68f0b7181
This commit is contained in:
parent
4a560b99ff
commit
d4898b0b95
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue