Add OpenStack LBaaS support
This commit is contained in:
parent
b73786c6d5
commit
aa02ddcb9a
2 changed files with 17 additions and 0 deletions
|
@ -74,6 +74,14 @@ bin_dir: /usr/local/bin
|
||||||
#azure_vnet_name:
|
#azure_vnet_name:
|
||||||
#azure_route_table_name:
|
#azure_route_table_name:
|
||||||
|
|
||||||
|
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following variables.
|
||||||
|
#openstack_lbaas_enabled: True
|
||||||
|
#openstack_lbaas_subnet_id: "the Neutron subnet id where the LBaaS VIP is, often same network as instances"
|
||||||
|
#openstack_lbaas_create_monitor: "yes"
|
||||||
|
#openstack_lbaas_monitor_delay: "1m"
|
||||||
|
#openstack_lbaas_monitor_timeout: "30s"
|
||||||
|
#openstack_lbaas_monitor_max_retries: "3"
|
||||||
|
|
||||||
## Set these proxy values in order to update docker daemon to use proxies
|
## Set these proxy values in order to update docker daemon to use proxies
|
||||||
#http_proxy: ""
|
#http_proxy: ""
|
||||||
#https_proxy: ""
|
#https_proxy: ""
|
||||||
|
|
|
@ -7,3 +7,12 @@ tenant-id={{ openstack_tenant_id }}
|
||||||
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
{% if openstack_domain_name is defined and openstack_domain_name != "" %}
|
||||||
domain-name={{ openstack_domain_name }}
|
domain-name={{ openstack_domain_name }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if openstack_lbaas_enabled %}
|
||||||
|
[LoadBalancer]
|
||||||
|
subnet-id={{ openstack_lbaas_subnet_id }}
|
||||||
|
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 %}
|
||||||
|
|
Loading…
Reference in a new issue