diff options
author | 2016-01-21 12:29:22 +0000 | |
---|---|---|
committer | 2016-01-21 12:29:22 +0000 | |
commit | bb7a36cbac02a1345e61b29f83cadc6434274249 (patch) | |
tree | af4dc8da8e028d01b710fb8034dc1c9fb8efedc6 /deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 | |
parent | 34a1302918127f0cc08b2d005dd42ac373f253ef (diff) | |
parent | 6c48d465b98f2255d5374903df8c73dbc4e9adaf (diff) |
Merge "bugfix: workaround for opencontrail" into stable/brahmaputra
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 b/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 index 6e2bcce3..3ac84c33 100755 --- a/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 +++ b/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2 @@ -1,12 +1,12 @@ [DEFAULTS] host_ip = {{ contrail_address }} rest_api_ip = {{ contrail_haproxy_address }} -rest_api_port = 9081 +rest_api_port = 8081 #cassandra_server_list = {% for cur_host in groups['opencontrail_database'] %}{{ ip_settings[cur_host]['mgmt']['ip'] }}:9160{% if not loop.last %} {% endif %}{% endfor %} #chenshuai: This kind of written is also correct, but the following is better, this as record cassandra_server_list = {% for cur_host in groups['opencontrail_database'] %}{{ haproxy_hosts[cur_host] }}:9160{% if not loop.last %} {% endif %}{% endfor %} -collectors = {{ contrail_address }}:8086 +collectors = {{ contrail_haproxy_address }}:8086 http_server_port = 8090 log_file = /var/log/contrail/contrail-analytics-api.log log_level = SYS_NOTICE |