diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-01-04 16:15:02 +0800 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-01-04 19:36:06 +0800 |
commit | a44775fe72cd0e48b85e80265b04750ae82ce355 (patch) | |
tree | 8d8c209b0657a1712f218a729123357b4f47bbdc /deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2 | |
parent | 917b53a734ccf31d2117458708e83a22175538b5 (diff) |
bugfix: annotate the code in annotation in haproxy.cfg.j2
JIRA: COMPASS-237
Change-Id: Ie796dcc07c57aa170ede924551748d8494469239
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2 b/deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2 index 27d033c7..435a4f5c 100755 --- a/deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2 +++ b/deploy/adapters/ansible/roles/open-contrail/templates/provision/haproxy-contrail-cfg.j2 @@ -1,7 +1,7 @@ #contrail-marker-start listen contrail-stats -# bind *:5937 +# bind *:5937 bind {{ internal_vip.ip }}:5937 bind {{ public_vip.ip }}:5937 mode http @@ -12,7 +12,7 @@ listen contrail-stats # compass has bind neutron-server #listen neutron-server # bind *:9696 -#balance roundrobin +# balance roundrobin # option nolinger #{% for host,ip in haproxy_hosts.items() %} # server {{ host }} {{ ip }}:9697 weight 1 check inter 2000 rise 2 fall 3 @@ -47,7 +47,7 @@ listen contrail-discovery listen contrail-analytics-api -# bind *:8081 +# bind *:8081 bind {{ internal_vip.ip }}:8081 bind {{ public_vip.ip }}:8081 balance roundrobin |