| {%- from "opencontrail/map.jinja" import config with context %} |
| |
| [DEFAULTS] |
| ifmap_server_ip={{ config.bind.address }} |
| ifmap_server_port=8443 |
| ifmap_username=svc-monitor |
| ifmap_password=svc-monitor |
| api_server_ip={{ config.discovery.host }} |
| api_server_port=8082 |
| #zk_server_ip=10.0.102.31:2181,10.0.102.32:2181,10.0.102.33:2181 |
| zk_server_ip={% for member in config.database.members %}{{ member.host }}:2181{% if not loop.last %},{% endif %}{% endfor %} |
| log_file=/var/log/contrail/contrail-svc-monitor.log |
| cassandra_server_list={% for member in config.database.members %}{{ member.host }}:9160 {% endfor %} |
| disc_server_ip={{ config.discovery.host }} |
| disc_server_port=5998 |
| region_name=RegionOne |
| log_local=1 |
| log_level=SYS_NOTICE |
| {%- if config.message_queue.members is defined %} |
| rabbit_server={{ config.message_queue.members|join(',',attribute='host') }} |
| rabbit_ha_mode=True |
| {%- else %} |
| rabbit_server={{ config.message_queue.host }} |
| {%- endif %} |
| rabbit_port={{ config.message_queue.port }} |
| |
| [SCHEDULER] |
| analytics_server_ip={{ config.analytics.host }} |
| analytics_server_port=8081 |
| |
| [SECURITY] |
| use_certs=False |
| keyfile=/etc/contrail/ssl/private_keys/svc_monitor_key.pem |
| certfile=/etc/contrail/ssl/certs/svc_monitor.pem |
| ca_certs=/etc/contrail/ssl/certs/ca.pem |
| |
| {%- if config.identity.engine == "keystone" %} |
| [KEYSTONE] |
| auth_host={{ config.identity.host }} |
| auth_protocol=http |
| auth_port={{ config.identity.port }} |
| auth_insecure=True |
| admin_user={{ config.identity.user }} |
| admin_password={{ config.identity.password }} |
| admin_token={{ config.identity.token }} |
| admin_tenant_name={{ config.identity.tenant }} |
| {%- endif %} |