| {%- from "opencontrail/map.jinja" import collector with context %} |
| [DEFAULTS] |
| analytics_api={{ collector.bind.address }}:8081 |
| collectors = {% for member in collector.database.members %}{{ member.host }}:8086 {% endfor %} |
| |
| #http_server_port=5921 |
| |
| log_local=1 |
| log_level=SYS_NOTICE |
| log_file=/var/log/contrail/contrail-topology.log |
| zookeeper = {% for member in collector.database.members %}{{ member.host }}:2182{% if not loop.last %},{% endif %}{% endfor %} |
| |
| #scan_frequency=60 |
| |
| #zookeeper=127.0.0.1:2182 |
| |
| {%- if collector.get('sandesh_send_rate_limits', {}).get('topology') %} |
| sandesh_send_rate_limit={{ collector.sandesh_send_rate_limits.topology }} |
| {%- elif collector.get('sandesh_send_rate_limits', {}).get('global') %} |
| sandesh_send_rate_limit={{ collector.sandesh_send_rate_limits.global }} |
| {%- endif %} |
| |
| [API_SERVER] |
| # List of api-servers in ip:port format separated by space |
| api_server_list={% for member in collector.config.members %}{{ member.host }}:9100 {% endfor %} |
| #api_server_use_ssl=False |
| |
| [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 |