aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/templates/provision/contrail-analytics-api-conf.j2
blob: 18192f194d1454d66503346e14a3704bad76dd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[DEFAULTS]
host_ip = {{ contrail_address }}
rest_api_ip = 0.0.0.0
rest_api_port = 9081
cassandra_server_list = {% for cur_host in groups['opencontrail_database'] %}{{ hostvars[cur_host]['contrail_address'] }}:9160{% if not loop.last %} {% endif %}{% endfor %}

collectors = {{ contrail_address }}:8086
http_server_port = 8090
log_file = /var/log/contrail/contrail-analytics-api.log
log_level = SYS_NOTICE
log_local = 1

# Time-to-live in hours of the various data stored by collector into
# cassandra
# analytics_config_audit_ttl, if not set (or set to -1), defaults to analytics_data_ttl
# analytics_statistics_ttl, if not set (or set to -1), defaults to analytics_data_ttl
# analytics_flow_ttl, if not set (or set to -1), defaults to analytics_statsdata_ttl
analytics_data_ttl = 48
analytics_config_audit_ttl = -1
analytics_statistics_ttl = -1
analytics_flow_ttl = -1

[DISCOVERY]
disc_server_ip = {{ contrail_haproxy_address }}
disc_server_port = 5998

[REDIS]
redis_server_port = 6379
redis_query_port = 6379