summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl
diff options
context:
space:
mode:
authorDavid Blaisonneau <david.blaisonneau@orange.com>2016-08-19 17:13:29 +0200
committerDavid Blaisonneau <david.blaisonneau@orange.com>2016-08-19 17:14:48 +0200
commit14d891da03cf0eeafd0d8b53174144dc6462877a (patch)
treec469d09f348d6395a71b72f786b4f02aae5d7657 /ci/config_tpl
parent24ef44ef9b34bfc5d395226f547c0a3db685f43c (diff)
[beta] add a public api proxy for orange pod1
Change-Id: I173b545a2b3bdc7ff948f37820fc2cfb62d5ca6d Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci/config_tpl')
-rw-r--r--ci/config_tpl/public-api-proxy.yaml13
1 files changed, 13 insertions, 0 deletions
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"