Enhanced OpenStack cloud provider (#1627)

- Enable Cinder API version for block storage
- Enable floating IP for LBaaS
This commit is contained in:
Kevin Lefevre
2017-09-16 09:43:24 +02:00
committed by Matthew Mosesohn
parent 0aab3c97a0
commit 9302ce0036
3 changed files with 19 additions and 5 deletions

View File

@@ -8,9 +8,17 @@ tenant-id={{ openstack_tenant_id }}
domain-name={{ openstack_domain_name }}
{% endif %}
{% if openstack_blockstorage_version is defined %}
[BlockStorage]
bs-version={{ openstack_blockstorage_version }}
{% endif %}
{% if openstack_lbaas_enabled and openstack_lbaas_subnet_id %}
[LoadBalancer]
subnet-id={{ openstack_lbaas_subnet_id }}
{% if openstack_lbaas_floating_network_id is defined %}
floating-network-id={{ openstack_lbaas_floating_network_id }}
{% endif %}
create-monitor={{ openstack_lbaas_create_monitor }}
monitor-delay={{ openstack_lbaas_monitor_delay }}
monitor-timeout={{ openstack_lbaas_monitor_timeout }}