From: David Blaisonneau Date: Mon, 22 Aug 2016 14:10:00 +0000 (+0200) Subject: add service_options in haproxy configuration X-Git-Tag: colorado.1.0~18 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F19221%2F1;p=joid.git add service_options in haproxy configuration Change-Id: I8072d87ba9416267a735553dcfb48b5ac8c66813 Signed-off-by: David Blaisonneau --- diff --git a/ci/config_tpl/public-api-proxy.yaml b/ci/config_tpl/public-api-proxy.yaml index b746850c..2e06ffff 100644 --- a/ci/config_tpl/public-api-proxy.yaml +++ b/ci/config_tpl/public-api-proxy.yaml @@ -7,6 +7,7 @@ - service_name: {{ service.name }} service_host: {{ public_api_ip }} service_port: {{ service.port }} + service_options: [mode http, balance leastconn], servers: [[{{ service.name }},{{ service.ip }},{{ service.port }}]] {% endfor %} to: