summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/tacker/templates
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-04-19 01:03:01 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-04-19 01:03:01 +0000
commitf255fcfcbceaad11647e55b59c33ae29f1a75c0c (patch)
treeb2688d6af9291f045d640c44b4f00ab5d67a2915 /deploy/adapters/ansible/roles/tacker/templates
parent14282bec2e84ca3d9f1fc199eaaf839bc0d33b79 (diff)
parent0c0d75f00976d4c2e50630221301731a7c298c04 (diff)
Merge "Update the port number of Tacker"
Diffstat (limited to 'deploy/adapters/ansible/roles/tacker/templates')
-rw-r--r--deploy/adapters/ansible/roles/tacker/templates/haproxy-tacker-cfg.j26
-rw-r--r--deploy/adapters/ansible/roles/tacker/templates/tacker.j22
2 files changed, 4 insertions, 4 deletions
diff --git a/deploy/adapters/ansible/roles/tacker/templates/haproxy-tacker-cfg.j2 b/deploy/adapters/ansible/roles/tacker/templates/haproxy-tacker-cfg.j2
index 796e59e8..93bbe798 100644
--- a/deploy/adapters/ansible/roles/tacker/templates/haproxy-tacker-cfg.j2
+++ b/deploy/adapters/ansible/roles/tacker/templates/haproxy-tacker-cfg.j2
@@ -1,10 +1,10 @@
listen proxy-tacker_api_cluster
- bind {{ internal_vip.ip }}:8890
- bind {{ public_vip.ip }}:8890
+ bind {{ internal_vip.ip }}:8888
+ bind {{ public_vip.ip }}:8888
mode tcp
option tcp-check
option tcplog
balance source
{% for host,ip in haproxy_hosts.items() %}
- server {{ host }} {{ ip }}:8890 weight 1 check inter 2000 rise 2 fall 5
+ server {{ host }} {{ ip }}:8888 weight 1 check inter 2000 rise 2 fall 5
{% endfor %}
diff --git a/deploy/adapters/ansible/roles/tacker/templates/tacker.j2 b/deploy/adapters/ansible/roles/tacker/templates/tacker.j2
index 1b9add7f..2e51496e 100644
--- a/deploy/adapters/ansible/roles/tacker/templates/tacker.j2
+++ b/deploy/adapters/ansible/roles/tacker/templates/tacker.j2
@@ -1,6 +1,6 @@
[DEFAULT]
bind_host = {{ internal_ip }}
-bind_port = 8890
+bind_port = 8888
auth_strategy = keystone
policy_file = /usr/local/etc/tacker/policy.json
debug = True