summaryrefslogtreecommitdiffstats
path: root/contrail-analytics/templates/analytics.conf
diff options
context:
space:
mode:
Diffstat (limited to 'contrail-analytics/templates/analytics.conf')
-rw-r--r--contrail-analytics/templates/analytics.conf110
1 files changed, 110 insertions, 0 deletions
diff --git a/contrail-analytics/templates/analytics.conf b/contrail-analytics/templates/analytics.conf
new file mode 100644
index 0000000..b221852
--- /dev/null
+++ b/contrail-analytics/templates/analytics.conf
@@ -0,0 +1,110 @@
+[GLOBAL]
+# Default log_level
+#log_level = SYS_NOTICE
+
+cloud_orchestrator = {{ cloud_orchestrator }}
+
+controller_nodes = {{ controller_servers|join(',') }}
+analyticsdb_nodes = {{ analyticsdb_servers|join(',') }}
+analytics_nodes = {{ analytics_servers|join(',') }}
+
+#uve_partition_count = {{ uve_partition_count }}
+
+xmpp_auth_enable = {{ ssl_enabled }}
+xmpp_dns_auth_enable = {{ ssl_enabled }}
+sandesh_ssl_enable = {{ ssl_enabled }}
+introspect_ssl_enable = {{ ssl_enabled }}
+
+analyticsdb_cassandra_user = {{ db_user }}
+analyticsdb_cassandra_password = {{ db_password }}
+
+[KEYSTONE]
+version = {{ keystone_api_suffix }}
+ip = {{ keystone_ip }}
+admin_port = 35357
+public_port = {{ keystone_public_port }}
+auth_protocol = {{ keystone_protocol }}
+admin_user = {{ keystone_admin_user }}
+admin_password = {{ keystone_admin_password }}
+admin_tenant = {{ keystone_admin_tenant }}
+insecure = True
+
+[ANALYTICS_API]
+# Introspect port for debug
+#introspect_port = 8090
+#
+# Listen address and port
+#listen_port = 8081
+#listen_address = {{ listen_address }}
+#
+# Log file and log_level
+#log_level = SYS_NOTICE
+#log = /var/log/contrail/contrail-analytics-api.log
+#
+
+# aaa_mode - RBAC configuration for analytics api
+# no-auth - no authentication is performed and full access is granted to all
+# cloud-admin - authentication is performed and only cloud-admin role has access - default cloud-admin role is "admin"
+# rbac - authentication is performed and access granted based on role and configured rules
+aaa_mode = {{ auth_mode }}
+
+[ALARM_GEN]
+# Log file and log level
+#log = /var/log/contrail/contrail-alarm-gen.log
+#log_level = SYS_NOTICE
+#
+# Introspect port for debug
+#introspect_port = 5995
+
+[ANALYTICS_COLLECTOR]
+# log file name and log_level
+# log = /var/log/contrail/contrail-collector.log
+# Log severity levels. Possible values are SYS_EMERG, SYS_ALERT, SYS_CRIT,
+# SYS_ERR, SYS_WARN, SYS_NOTICE, SYS_INFO and SYS_DEBUG. Default is SYS_DEBUG
+# log_level = SYS_NOTICE
+#
+# Introspect port for debug
+# introspect_port = 8089
+#
+# Listen address and port
+# listen_port = 8086
+# listen_address = 0.0.0.0
+
+[QUERY_ENGINE]
+# log file name and log_level
+# log = /var/log/contrail/contrail-query-engine.log
+# Log severity levels. Possible values are SYS_EMERG, SYS_ALERT, SYS_CRIT,
+# SYS_ERR, SYS_WARN, SYS_NOTICE, SYS_INFO and SYS_DEBUG. Default is SYS_DEBUG
+# log_level = SYS_NOTICE
+#
+# Introspect port for debug
+# introspect_port = 8091
+
+[SNMP_COLLECTOR]
+# log file name and log_level
+# log = /var/log/contrail/contrail-snmp-collector.log
+# Log severity levels. Possible values are SYS_EMERG, SYS_ALERT, SYS_CRIT,
+# SYS_ERR, SYS_WARN, SYS_NOTICE, SYS_INFO and SYS_DEBUG. Default is SYS_DEBUG
+# log_level = SYS_NOTICE
+#
+# Introspect port for debug
+# introspect_port = 5920
+#
+# scan_frequency=600
+#
+# fast_scan_frequency=60
+
+[TOPOLOGY]
+# log file name and log_level
+# log = /var/log/contrail/contrail-topology.log
+# Log severity levels. Possible values are SYS_EMERG, SYS_ALERT, SYS_CRIT,
+# SYS_ERR, SYS_WARN, SYS_NOTICE, SYS_INFO and SYS_DEBUG. Default is SYS_DEBUG
+# log_level = SYS_NOTICE
+#
+# Introspect port for debug
+# introspect_port = 5921
+
+[RABBITMQ]
+user = {{ rabbitmq_user }}
+password = {{ rabbitmq_password }}
+vhost = {{ rabbitmq_vhost }}