From 14d891da03cf0eeafd0d8b53174144dc6462877a Mon Sep 17 00:00:00 2001 From: David Blaisonneau Date: Fri, 19 Aug 2016 17:13:29 +0200 Subject: [beta] add a public api proxy for orange pod1 Change-Id: I173b545a2b3bdc7ff948f37820fc2cfb62d5ca6d Signed-off-by: David Blaisonneau --- ci/config_tpl/public-api-proxy.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ci/config_tpl/public-api-proxy.yaml (limited to 'ci/config_tpl') diff --git a/ci/config_tpl/public-api-proxy.yaml b/ci/config_tpl/public-api-proxy.yaml new file mode 100644 index 00000000..726945fe --- /dev/null +++ b/ci/config_tpl/public-api-proxy.yaml @@ -0,0 +1,13 @@ +haproxy: + charm: "local:{{ opnfv.distro }}/haproxy" + num_units: 1 + options: + services: |- +{% for service in public_api_services.values() %} + - service_name: {{ service.name }} + service_host: {{ public_api_ip }} + service_port: {{ service.port }} + servers: [[{{ service.name }},{{ service.ip }},{{ service.port }}]] +{% endfor %} + to: + - "nodes=0" -- cgit 1.2.3-korg