2016-03-29 20:50:22 +08:00
|
|
|
[Global]
|
2017-09-16 15:43:47 +08:00
|
|
|
auth-url="{{ openstack_auth_url }}"
|
|
|
|
username="{{ openstack_username }}"
|
|
|
|
password="{{ openstack_password }}"
|
|
|
|
region="{{ openstack_region }}"
|
|
|
|
tenant-id="{{ openstack_tenant_id }}"
|
2017-02-28 11:19:27 +08:00
|
|
|
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
2017-09-16 15:43:47 +08:00
|
|
|
domain-name="{{ openstack_domain_name }}"
|
2017-02-28 11:19:27 +08:00
|
|
|
{% endif %}
|
2017-08-20 18:59:15 +08:00
|
|
|
|
2017-09-16 15:43:24 +08:00
|
|
|
{% if openstack_blockstorage_version is defined %}
|
|
|
|
[BlockStorage]
|
|
|
|
bs-version={{ openstack_blockstorage_version }}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-20 18:59:15 +08:00
|
|
|
{% if openstack_lbaas_enabled and openstack_lbaas_subnet_id %}
|
|
|
|
[LoadBalancer]
|
|
|
|
subnet-id={{ openstack_lbaas_subnet_id }}
|
2017-09-16 15:43:24 +08:00
|
|
|
{% if openstack_lbaas_floating_network_id is defined %}
|
|
|
|
floating-network-id={{ openstack_lbaas_floating_network_id }}
|
|
|
|
{% endif %}
|
2017-08-20 18:59:15 +08:00
|
|
|
create-monitor={{ openstack_lbaas_create_monitor }}
|
|
|
|
monitor-delay={{ openstack_lbaas_monitor_delay }}
|
|
|
|
monitor-timeout={{ openstack_lbaas_monitor_timeout }}
|
|
|
|
monitor-max-retries={{ openstack_lbaas_monitor_max_retries }}
|
|
|
|
{% endif %}
|