| {%- from "opencontrail/map.jinja" import collector with context %} |
| # |
| # Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. |
| # |
| # Query-Engine configuration options |
| # |
| |
| [DEFAULT] |
| # analytics_data_ttl=48 |
| cassandra_server_list={% for member in collector.database.members %}{{ member.host }}:9042 {% endfor %} |
| #collectors=127.0.0.1:8086 |
| hostip={{ collector.bind.address }} |
| # hostname= # Retrieved as `hostname` |
| http_server_port=8091 |
| # log_category= |
| # log_disable=0 |
| log_file=/var/log/contrail/contrail-query-engine.log |
| # log_files_count=10 |
| # log_file_size=1048576 # 1MB |
| log_level=SYS_NOTICE |
| log_local=1 |
| # test_mode=0 |
| |
| [DISCOVERY] |
| server = {{ collector.discovery.host }} |
| port = 5998 |
| |
| [REDIS] |
| port=6379 |
| server=127.0.0.1 |
| |