blob: 1e797bbb9044ed0df3512021042b059fbba58506 [file] [log] [blame]
{%- 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 = {% for member in collector.analytics.members %}{{ member.host }}:8086 {% endfor %}
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
# max_slice=100
# max_tasks=16
# start_time=0
# test_mode=0
# Sandesh send rate limit can be used to throttle system logs transmitted per
# second. System logs are dropped if the sending rate is exceeded
# sandesh_send_rate_limit=
[REDIS]
port=6379
server=127.0.0.1
{%- if collector.get('contrail_cache', {}).get('password') %}
password={{ collector.contrail_cache.password }}
{%- endif %}
[SANDESH]
# sandesh_ssl_enable=false
# introspect_ssl_enable=false
# sandesh_keyfile=/etc/contrail/ssl/private/server-privkey.pem
# sandesh_certfile=/etc/contrail/ssl/certs/server.pem
# sandesh_ca_cert=/etc/contrail/ssl/certs/ca-cert.pem