blob: d17557185669cd1f29f541352b2b73c4d6ee6a78 [file] [log] [blame]
Petr Jedinýfe51c6a2017-09-05 18:30:31 +02001{%- from "opencontrail/map.jinja" import compute with context %}
2{%- from "opencontrail/map.jinja" import common with context -%}
3[BARBICAN]
4admin_user={{ compute.lbaas.secret_manager.identity.user }}
5admin_password={{ compute.lbaas.secret_manager.identity.password }}
6admin_tenant_name={{ compute.lbaas.secret_manager.identity.tenant }}
7{%- if common.identity.get('version', '2.0') == "3" %}
8admin_user_domain={{ compute.lbaas.secret_manager.identity.user_domain }}
9admin_project_domain={{ compute.lbaas.secret_manager.identity.project_domain }}
10auth_url=http://{{ common.identity.host }}:{{ common.identity.port }}/v3
11{%- else %}
12auth_url=http://{{ common.identity.host }}:{{ common.identity.port }}/v2.0
13{%- endif %}
14{%- if common.identity.region is defined %}
15region={{ common.identity.region }}
16{%- endif %}