modfied to take care of labconfig.yaml file copy and change the
[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             servers: [[{{ service.name }},{{ service.ip }},{{ service.port }}]]
11 {% endfor %}
12       to:
13         - "nodes=0"