
If 'use-internal-endpoints' is set to True, ensure that calls to the Nova Placement API are made using internal endpoints from the service catalog. Closes-Bug: 1673070 Change-Id: Ifa4d7509f06e9df834c59975e6eabea8f6965739
22 lines
560 B
Plaintext
22 lines
560 B
Plaintext
[placement]
|
|
{% if auth_host -%}
|
|
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
|
|
auth_type = password
|
|
{% if api_version == "3" -%}
|
|
project_domain_name = {{ admin_domain_name }}
|
|
user_domain_name = {{ admin_domain_name }}
|
|
{% else -%}
|
|
project_domain_name = default
|
|
user_domain_name = default
|
|
{% endif -%}
|
|
project_name = {{ admin_tenant_name }}
|
|
username = {{ admin_user }}
|
|
password = {{ admin_password }}
|
|
{% endif -%}
|
|
{% if region -%}
|
|
os_region_name = {{ region }}
|
|
{% endif -%}
|
|
{% if use_internal_endpoints -%}
|
|
os_interface = internal
|
|
{% endif -%}
|