e3e2f639dd
See http://lists.openstack.org/pipermail/openstack-dev/2016-May/095166.html for additional details. Change-Id: I8b7155cd36b0140403df0598a2376d4e6ea91d6b
35 lines
1.1 KiB
Django/Jinja
35 lines
1.1 KiB
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% set _api_threads = ansible_processor_vcpus|default(2) // 2 %}
|
|
{% set api_threads = _api_threads if _api_threads > 0 else 1 %}
|
|
|
|
# General
|
|
[DEFAULT]
|
|
debug = {{ debug }}
|
|
|
|
# Neutron credentials for API access
|
|
auth_plugin = {{ neutron_keystone_auth_plugin }}
|
|
auth_url = {{ keystone_service_adminurl }}
|
|
auth_uri = {{ keystone_service_internaluri }}
|
|
auth_region = {{ keystone_service_region }}
|
|
project_domain_id = {{ neutron_service_project_domain_id }}
|
|
user_domain_id = {{ neutron_service_user_domain_id }}
|
|
project_name = {{ neutron_service_project_name }}
|
|
username = {{ neutron_service_user_name }}
|
|
password = {{ neutron_service_password }}
|
|
endpoint_type = adminURL
|
|
|
|
# Nova metadata service IP and port
|
|
nova_metadata_ip = {{ internal_lb_vip_address }}
|
|
nova_metadata_port = {{ nova_metadata_port }}
|
|
|
|
# Metadata proxy shared secret
|
|
metadata_proxy_shared_secret = {{ nova_metadata_proxy_secret }}
|
|
|
|
# Workers and backlog requests
|
|
metadata_workers = {{ neutron_metadata_workers | default(api_threads) }}
|
|
metadata_backlog = {{ neutron_metadata_backlog }}
|
|
|
|
# Caching
|
|
cache_url = memory://?default_ttl=5
|