summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-08-08 18:28:30 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-08-08 18:29:21 -0500
commita32d1f2092a6455edd2f4289f68ab3430f9779dd (patch)
treee6e8aa29f3ea7d7bafaef57eaaa4028fbea147c0 /ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml
parentce29674c1a721508004edcd1c412642dfcace882 (diff)
qtuning the HA mode of cluster to respond for apis.
Change-Id: I070b62f063ec6ecb1ea7501139dfcf1c34593a42 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml b/ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml
index bdf1090a..497ef29d 100644
--- a/ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml
+++ b/ci/config_tpl/bundle_tpl/nova-cloud-controller.yaml
@@ -5,13 +5,17 @@
#console-access-protocol: novnc
neutron-external-network: ext-net
service-guard: true
+{% if os.ha.mode == 'ha' %}
+ haproxy-server-timeout: 10000
+ haproxy-client-timeout: 10000
+ haproxy-queue-timeout: 10000
+ haproxy-connect-timeout: 10000
+ vip: {{ opnfv.vip.nova }}
+{% endif %}
{% if opnfv.domain is defined %}
console-proxy-ip: {{ opnfv.domain }}
{% endif %}
network-manager: Neutron
-{% if os.ha.mode == 'ha' %}
- vip: {{ opnfv.vip.nova }}
-{% endif %}
{% if os.beta.public_api %}
os-public-hostname: api.{{ opnfv.domain }}
{% endif %}