| {%- from "opencontrail/map.jinja" import collector with context %} |
| # |
| # Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. |
| # |
| # Control-node configuration options |
| # |
| |
| [DEFAULT] |
| # Everything in this section is optional |
| |
| # 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={{ collector.data_ttl }} |
| analytics_config_audit_ttl={{ collector.data_ttl }} |
| analytics_statistics_ttl={{ collector.data_ttl }} |
| analytics_flow_ttl={{ collector.data_ttl }} |
| |
| cassandra_server_list={% for member in collector.database.members %}{{ member.host }}:{{ member.port }} {% endfor %} |
| # dup=0 |
| hostip={{ collector.bind.address }} # Resolved IP of `hostname` |
| # hostname= # Retrieved as `hostname` |
| http_server_port=8089 |
| # log_category= |
| # log_disable=0 |
| log_file=/var/log/contrail/contrail-collector.log |
| # log_files_count=10 |
| # log_file_size=1048576 # 1MB |
| log_level=SYS_NOTICE |
| log_local=1 |
| syslog_port=-1 |
| # test_mode=0 |
| |
| [COLLECTOR] |
| port=8086 |
| # server= 0.0.0.0 |
| |
| [DISCOVERY] |
| # port=5998 |
| server={{ collector.discovery.host }} # discovery_server IP address |
| |
| [REDIS] |
| port=6379 |
| server=127.0.0.1 |
| |