blob: d17557185669cd1f29f541352b2b73c4d6ee6a78 [file] [log] [blame]
{%- from "opencontrail/map.jinja" import compute with context %}
{%- from "opencontrail/map.jinja" import common with context -%}
[BARBICAN]
admin_user={{ compute.lbaas.secret_manager.identity.user }}
admin_password={{ compute.lbaas.secret_manager.identity.password }}
admin_tenant_name={{ compute.lbaas.secret_manager.identity.tenant }}
{%- 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
{%- else %}
auth_url=http://{{ common.identity.host }}:{{ common.identity.port }}/v2.0
{%- endif %}
{%- if common.identity.region is defined %}
region={{ common.identity.region }}
{%- endif %}