Move tools.sh to ci/common dir
[joid.git] / ci / config_tpl / public-api-proxy.yaml
1     haproxy:
2       charm: "local:{{ opnfv.distro }}/haproxy"
3       num_units: 1
4       options:
5         services: |-
6 {% for service in public_api_services.values() %}
7           - service_name: {{ service.name }}
8             service_host: {{ public_api_ip }}
9             service_port: {{ service.port }}
10             service_options: [mode http, balance leastconn]
11             servers: [[{{ service.name }}, {{ service.ip }}, {{ service.port }}, 'maxconn 100 cookie S0 check']]
12 {% endfor %}
13       to:
14         - "nodes=0"