Add rabbit driver ssl config option

The driver option is necessary as the transport_url query param
override requires the value. Default will be to use the oslomsg
rpc setting.

Change-Id: Ic9bc50824be37c544444c9e6f296151e1db427ea
This commit is contained in:
Andrew Smith 2018-06-04 13:23:30 -04:00
parent 5009ea6efa
commit 2650f654af

View File

@ -145,6 +145,7 @@ lock_path = {{ ironic_lock_path }}
transport_url = {{ ironic_oslomsg_notify_transport }}://{% for host in ironic_oslomsg_notify_servers.split(',') %}{{ ironic_oslomsg_notify_userid }}:{{ ironic_oslomsg_notify_password }}@{{ host }}:{{ ironic_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_notify_vhost }}{% if ironic_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
[oslo_messaging_rabbit]
ssl = {{ ironic_oslomsg_rpc_use_ssl }}
pool_max_size = {{ ironic_wsgi_processes }}