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