summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-16 05:14:13 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-16 05:14:13 +0000
commit717887c33a1abdb47bf4cf1e927c7a8b02fd63bd (patch)
treee40286787fe418be7deb054de14fb04ae7b55940 /deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2
parent7a1ca84a19fd1e5b8178ac3c471a30f71e845596 (diff)
parent6b168a9b8c44c141f71c2eab7e51973f3523f912 (diff)
Merge "bugfix: workaround for opencontrail"
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2 b/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2
index cf5dead3..46995f75 100755
--- a/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2
+++ b/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-schema-conf.j2
@@ -1,11 +1,11 @@
[DEFAULTS]
#ifmap_server_ip = {{ ip_settings[haproxy_hosts.keys()[0]]['mgmt']['ip'] }}
-ifmap_server_ip = {{ haproxy_hosts.values()[0] }}
+ifmap_server_ip = {{ contrail_haproxy_address }}
ifmap_server_port = 8443
ifmap_username = schema-transformer
ifmap_password = schema-transformer
#api_server_ip = {{ ip_settings[haproxy_hosts.keys()[0]]['mgmt']['ip'] }}
-api_server_ip = {{ haproxy_hosts.values()[0] }}
+api_server_ip = {{ contrail_haproxy_address }}
api_server_port = 8082
zk_server_ip = {% for cur_host in groups['opencontrail_database'] %}{{ haproxy_hosts[cur_host] }}:2181{% if not loop.last %}, {% endif %}{% endfor %}