aboutsummaryrefslogtreecommitdiffstats
path: root/contrail-controller/templates/controller.conf
blob: 7498e69e04bbde72e4e1e70caccbf7f751e88c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[GLOBAL]
# Default log_level
#log_level = SYS_NOTICE

cloud_orchestrator = {{ cloud_orchestrator }}

controller_nodes = {{ controller_servers|join(',') }}
config_seeds = {{ config_seeds|join(',') }}

analytics_nodes = {{ analytics_servers|join(',') }}

xmpp_auth_enable = {{ ssl_enabled }}
xmpp_dns_auth_enable = {{ ssl_enabled }}
sandesh_ssl_enable = {{ ssl_enabled }}
introspect_ssl_enable = {{ ssl_enabled }}

configdb_cassandra_user = {{ db_user }}
configdb_cassandra_password = {{ db_password }}

neutron_metadata_ip = 127.0.0.1

[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

[API]
# log = /var/log/contrail/contrail-api.log

# log_level = SYS_NOTICE

# Enable optimizations to list resources. Be careful, resources created on
# release under R1.05 does not support that optimization (especially for port)
# list_optimization_enabled = True

# listen_port = 8082
# listen_address = 0.0.0.0

# 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 }}
{%- if auth_mode == 'cloud-admin' %}
cloud_admin_role = {{ cloud_admin_role }}
{%- if global_read_only_role %}
global_read_only_role = {{ global_read_only_role }}
{%- endif %}
{%- endif %}

[ANALYTICS_API]
aaa_mode = {{ auth_mode }}


[CONTROL]
# BGP port number
# bgp_port=179

# Introspect port for debugging
# introspect_port = 8083

# xmpp server port
# xmpp_server_port=5269

# Log file and log level
# log_file=/var/log/contrail/contrail-control.log
# log_level=SYS_NOTICE

[DNS]
# named log file
# named_log_file=/var/log/contrail/contrail-named.log

# Introspect port for debug
# introspect_port=8092

# DNS server port
# dns_server_port=53

# Log file and log_level
# log_file=/var/log/contrail/contrail-dns.log
# log_level=SYS_NOTICE

[CASSANDRA]
# Directory to store commitlogs. In case of any high performance disk mounted,
# it is prefered to use that for this
# commitlog_dir = /var/lib/cassandra/commitlog
#
# The directory location where table key and row caches are stored
# saved_caches_dir = /var/lib/cassandra/saved_caches
#
# data_dirs - A list of directory location where table data is stored (in SSTables).
# This is setup as list representation. Cassandra distributes data evenly across the
# location, subject to the granularity of the configured compaction strategy.
# data_dirs = ["/var/lib/cassandra/data"]
#
# JAVA memory configurations
# java_max_heap_size = 512M
# java_max_heap_newsize = 100M


[SCHEMA]
# log = /var/log/contrail/contrail-schema.log

# log_level = SYS_NOTICE

[DEVICE_MANAGER]
# log = /var/log/contrail/contrail-device-manager.log
# log_level = SYS_NOTICE

[SVC_MONITOR]

# Log file and log level
# log = /var/log/contrail/contrail-svc-monitor.log
# log_level = SYS_NOTICE

[WEBUI]
# http_listen_port = 8080
# https_listen_port = 8143
# webui_storage_enable = False
{%- if compute_service_ip %}
nova_api_ip = {{ compute_service_ip }}
{%- endif %}
{%- if image_service_ip %}
glance_api_ip = {{ image_service_ip }}
{%- endif %}

[RABBITMQ]
user = {{ rabbitmq_user }}
password = {{ rabbitmq_password }}
vhost = {{ rabbitmq_vhost }}