qtuning the HA mode of cluster to respond for apis.
[joid.git] / ci / config_tpl / bundle_tpl / nova-cloud-controller.yaml
1     nova-cloud-controller:
2       charm: "local:{{ ubuntu.release }}/nova-cloud-controller"
3       num_units: {{ unit_qty() }}
4       options:
5         #console-access-protocol: novnc
6         neutron-external-network: ext-net
7         service-guard: true
8 {% if os.ha.mode == 'ha' %}
9         haproxy-server-timeout: 10000
10         haproxy-client-timeout: 10000
11         haproxy-queue-timeout: 10000
12         haproxy-connect-timeout: 10000
13         vip: {{ opnfv.vip.nova }}
14 {% endif %}
15 {% if opnfv.domain is defined %}
16         console-proxy-ip: {{ opnfv.domain }}
17 {% endif %}
18         network-manager: Neutron
19 {% if os.beta.public_api %}
20         os-public-hostname: api.{{ opnfv.domain }}
21 {% endif %}
22       to:
23 {% for unit_id in to_select() %}
24         - "lxc:nodes={{ unit_id }}"
25 {% endfor %}