Merge "Provide ability to specify auth protocol in contrail lbaas config"
diff --git a/opencontrail/files/4.0/contrail-lbaas-auth.conf b/opencontrail/files/4.0/contrail-lbaas-auth.conf
index d175571..d3c0b06 100644
--- a/opencontrail/files/4.0/contrail-lbaas-auth.conf
+++ b/opencontrail/files/4.0/contrail-lbaas-auth.conf
@@ -7,9 +7,9 @@
{%- if common.identity.get('version', '2.0') == "3" %}
admin_user_domain={{ compute.lbaas.secret_manager.identity.user_domain }}
admin_project_domain={{ compute.lbaas.secret_manager.identity.project_domain }}
-auth_url=http://{{ common.identity.host }}:{{ common.identity.port }}/v3
+auth_url={{ common.identity.get('protocol', 'http') }}://{{ common.identity.host }}:{{ common.identity.port }}/v3
{%- else %}
-auth_url=http://{{ common.identity.host }}:{{ common.identity.port }}/v2.0
+auth_url={{ common.identity.get('protocol', 'http') }}://{{ common.identity.host }}:{{ common.identity.port }}/v2.0
{%- endif %}
{%- if common.identity.region is defined %}
region={{ common.identity.region }}