2016-03-29 12:50:22 +00:00
|
|
|
[Global]
|
2017-09-16 07:43:47 +00:00
|
|
|
auth-url="{{ openstack_auth_url }}"
|
|
|
|
username="{{ openstack_username }}"
|
|
|
|
password="{{ openstack_password }}"
|
|
|
|
region="{{ openstack_region }}"
|
2018-08-20 16:51:25 +00:00
|
|
|
{% if openstack_trust_id is defined and openstack_trust_id != "" %}
|
|
|
|
trust-id="{{ openstack_trust_id }}"
|
|
|
|
{% else %}
|
2017-09-16 07:43:47 +00:00
|
|
|
tenant-id="{{ openstack_tenant_id }}"
|
2018-08-20 16:51:25 +00:00
|
|
|
{% endif %}
|
2018-04-04 16:55:39 +00:00
|
|
|
{% if openstack_tenant_name is defined and openstack_tenant_name != "" %}
|
|
|
|
tenant-name="{{ openstack_tenant_name }}"
|
|
|
|
{% endif %}
|
2017-02-28 03:19:27 +00:00
|
|
|
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
2017-09-16 07:43:47 +00:00
|
|
|
domain-name="{{ openstack_domain_name }}"
|
2017-12-11 14:57:33 +00:00
|
|
|
{% elif openstack_domain_id is defined and openstack_domain_id != "" %}
|
|
|
|
domain-id ="{{ openstack_domain_id }}"
|
2017-02-28 03:19:27 +00:00
|
|
|
{% endif %}
|
2018-02-14 16:15:25 +00:00
|
|
|
{% if openstack_cacert is defined and openstack_cacert != "" %}
|
|
|
|
ca-file="{{ kube_config_dir }}/openstack-cacert.pem"
|
|
|
|
{% endif %}
|
2017-08-20 10:59:15 +00:00
|
|
|
|
2017-09-16 07:43:24 +00:00
|
|
|
[BlockStorage]
|
2018-09-28 05:15:47 +00:00
|
|
|
{% if openstack_blockstorage_version is defined %}
|
2017-09-16 07:43:24 +00:00
|
|
|
bs-version={{ openstack_blockstorage_version }}
|
|
|
|
{% endif %}
|
2018-09-28 05:15:47 +00:00
|
|
|
{% if openstack_blockstorage_ignore_volume_az is defined and openstack_blockstorage_ignore_volume_az|bool %}
|
|
|
|
ignore-volume-az={{ openstack_blockstorage_ignore_volume_az }}
|
|
|
|
{% endif %}
|
2019-08-20 06:45:32 +00:00
|
|
|
{% if node_volume_attach_limit is defined and node_volume_attach_limit != "" %}
|
|
|
|
node-volume-attach-limit="{{ node_volume_attach_limit }}"
|
|
|
|
{% endif %}
|
2017-09-16 07:43:24 +00:00
|
|
|
|
2018-01-05 11:05:24 +00:00
|
|
|
{% if openstack_lbaas_enabled and openstack_lbaas_subnet_id is defined %}
|
2017-08-20 10:59:15 +00:00
|
|
|
[LoadBalancer]
|
|
|
|
subnet-id={{ openstack_lbaas_subnet_id }}
|
2017-09-16 07:43:24 +00:00
|
|
|
{% if openstack_lbaas_floating_network_id is defined %}
|
|
|
|
floating-network-id={{ openstack_lbaas_floating_network_id }}
|
|
|
|
{% endif %}
|
2018-01-05 11:05:24 +00:00
|
|
|
{% if openstack_lbaas_use_octavia is defined %}
|
|
|
|
use-octavia={{ openstack_lbaas_use_octavia }}
|
|
|
|
{% endif %}
|
|
|
|
{% if openstack_lbaas_method is defined %}
|
|
|
|
lb-method={{ openstack_lbaas_method }}
|
|
|
|
{% endif %}
|
|
|
|
{% if openstack_lbaas_provider is defined %}
|
|
|
|
lb-provider={{ openstack_lbaas_provider }}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-08-20 10:59:15 +00: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 %}
|