summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/neutron-api.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/neutron-api.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/neutron-api.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/neutron-api.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/ci/config_tpl/bundle_tpl/neutron-api.yaml b/ci/config_tpl/bundle_tpl/neutron-api.yaml
index 9ee914ae..321c2e87 100644
--- a/ci/config_tpl/bundle_tpl/neutron-api.yaml
+++ b/ci/config_tpl/bundle_tpl/neutron-api.yaml
@@ -3,6 +3,13 @@
num_units: {{ unit_qty() }}
options:
neutron-security-groups: true
+{% if os.ha.mode == 'ha' %}
+ vip: {{ opnfv.vip.neutron }}
+ haproxy-server-timeout: 10000
+ haproxy-client-timeout: 10000
+ haproxy-queue-timeout: 10000
+ haproxy-connect-timeout: 10000
+{% endif %}
{% if os.network.controller == 'nosdn' %}
flat-network-providers: "*"
{% if os.network.dvr %}
@@ -14,9 +21,6 @@
flat-network-providers: "*"
manage-neutron-plugin-legacy-mode: False
{% endif %}
-{% if os.ha.mode == 'ha' %}
- vip: {{ opnfv.vip.neutron }}
-{% endif %}
{% if os.beta.public_api %}
os-public-hostname: api.{{ opnfv.domain }}
{% endif %}