Merge "Update messaging notification configuration"

This commit is contained in:
Zuul 2018-10-17 03:05:24 +00:00 committed by Gerrit Code Review
commit 1769545d04
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,9 @@
## Verbosity Options
debug: False
# Enable/Disable Ceilometer
magnum_ceilometer_enabled: False
# Set the host which will execute the shade modules
# for the service setup. The host must already have
# clouds.yaml properly configured.

View File

@ -75,6 +75,7 @@ region_name = {{ magnum_nova_service_region }}
endpoint_type = internalURL
[oslo_messaging_notifications]
driver = {% if magnum_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
transport_url = {{ magnum_oslomsg_notify_transport }}://{% for host in magnum_oslomsg_notify_servers.split(',') %}{{ magnum_oslomsg_notify_userid }}:{{ magnum_oslomsg_notify_password }}@{{ host }}:{{ magnum_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ magnum_oslomsg_notify_vhost }}{% if magnum_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
[oslo_messaging_rabbit]