charm-neutron-api/templates/parts/section-designate
Liam Young e6fb69786f Fix creds for keystone v3 deploys with designate
The charm was using keystone v2 creds to attempt to authenticate
with keystone despite keystone using v3.

Change-Id: Ib815fa5d77949e6cd6e79cd9fa9a088e5f6ae394
2018-03-05 17:13:30 +00:00

24 lines
893 B
Plaintext

[designate]
url = {{ designate_endpoint }}/v2
{% if api_version == "3" -%}
auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
auth_type = password
project_domain_name = {{ admin_domain_name }}
user_domain_name = {{ admin_domain_name }}
project_name = {{ admin_tenant_name }}
username = {{ admin_user }}
password = {{ admin_password }}
signing_dir = {{ signing_dir }}
{% else -%}
admin_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
admin_username = {{ admin_user }}
admin_password = {{ admin_password }}
admin_tenant_name = {{ admin_tenant_name }}
{% endif -%}
allow_reverse_dns_lookup = {{ allow_reverse_dns_lookup }}
{% if allow_reverse_dns_lookup -%}
ipv4_ptr_zone_prefix_size = {{ ipv4_ptr_zone_prefix_size }}
ipv6_ptr_zone_prefix_size = {{ ipv6_ptr_zone_prefix_size }}
{% endif -%}