blob: 5b7ff7d703c443bffdcf7bdb20cd72d4d934fd99 [file] [log] [blame]
Filip Pytloun27930402015-10-06 16:28:32 +02001applications:
2- opencontrail
Jakub Pavlik73a52432016-01-28 11:06:37 +01003classes:
4- service.opencontrail.support
Filip Pytloun27930402015-10-06 16:28:32 +02005parameters:
Filip Pytloun27930402015-10-06 16:28:32 +02006 opencontrail:
7 common:
8 version: ${_param:opencontrail_version}
Filip Pytloun27930402015-10-06 16:28:32 +02009 identity:
10 engine: keystone
ibumarskovf6086782019-04-10 16:37:27 +040011 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +020012 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020013 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020014 token: '${_param:keystone_service_token}'
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010015 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020016 network:
17 engine: neutron
18 host: ${_param:cluster_vip_address}
19 port: 9696
20 config:
21 version: ${_param:opencontrail_version}
22 enabled: true
Jakub Pavlik6d90f362016-04-19 20:34:37 +020023 multi_tenancy: true
Filip Pytloun27930402015-10-06 16:28:32 +020024 network:
25 engine: neutron
26 host: ${_param:cluster_vip_address}
27 port: 9696
28 discovery:
29 host: ${_param:cluster_vip_address}
30 analytics:
31 host: ${_param:cluster_vip_address}
32 bind:
33 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +020034 api_port: 9100
35 discovery_port: 9110
Filip Pytloun27930402015-10-06 16:28:32 +020036 message_queue:
37 engine: rabbitmq
38 host: ${_param:cluster_vip_address}
39 port: 5672
40 database:
41 members:
42 - host: ${_param:cluster_node01_address}
43 port: 9160
44 - host: ${_param:cluster_node02_address}
45 port: 9160
46 - host: ${_param:cluster_node03_address}
47 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +020048 identity:
49 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +020050 version: ${_param:opencontrail_identity_version}
Svimba60c15812018-07-04 14:14:22 +020051 region: ${_param:openstack_region}
ibumarskovf6086782019-04-10 16:37:27 +040052 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +020053 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020054 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010055 user: ${_param:opencontrail_admin_user}
56 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020057 token: '${_param:keystone_service_token}'
58 tenant: admin
Anton Samoylov72575c22019-06-07 20:26:44 +040059 api:
60 use_ssl: ${_param:opencontrail_api_ssl_enabled}
61 certfile: ${_param:opencontrail_api_certfile}
62 keyfile: ${_param:opencontrail_api_keyfile}
63 cafile: ${_param:opencontrail_api_cafile}
Filip Pytloun27930402015-10-06 16:28:32 +020064 members:
65 - host: ${_param:cluster_node01_address}
66 id: 1
67 - host: ${_param:cluster_node02_address}
68 id: 2
69 - host: ${_param:cluster_node03_address}
70 id: 3
Inessa Vasilevskayace208e72018-10-22 10:45:09 +020071 services_extra_states:
72 contrail-schema:
73 - backup
74 contrail-svc-monitor:
75 - backup
76 contrail-device-manager:
77 - backup
Filip Pytloun27930402015-10-06 16:28:32 +020078 control:
79 version: ${_param:opencontrail_version}
80 enabled: true
marco5ceb93b2016-10-11 16:32:05 +020081 id: ${_param:opencontrail_database_id}
Filip Pytloun27930402015-10-06 16:28:32 +020082 bind:
83 address: ${_param:cluster_local_address}
84 discovery:
85 host: ${_param:cluster_vip_address}
86 master:
87 host: ${_param:cluster_local_address}
88 members:
89 - host: ${_param:cluster_node01_address}
90 id: 1
91 - host: ${_param:cluster_node02_address}
92 id: 2
93 - host: ${_param:cluster_node03_address}
94 id: 3
95 collector:
96 version: ${_param:opencontrail_version}
97 enabled: true
Petr Jedinýffbe2082017-03-07 00:56:47 +010098 aaa_mode: no-auth
Filip Pytloun27930402015-10-06 16:28:32 +020099 bind:
100 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +0200101 port: 9081
Filip Pytloun27930402015-10-06 16:28:32 +0200102 master:
103 host: ${_param:cluster_local_address}
Gleb Zimin27521c12018-08-21 14:48:37 +0400104 contrail_cache:
105 engine: redis
106 host: ${_param:cluster_local_address}
107 port: 6379
Inessa Vasilevskayaba36d422018-12-20 19:24:57 +0100108 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200109 discovery:
110 host: ${_param:cluster_vip_address}
111 data_ttl: 1
112 database:
113 members:
114 - host: ${_param:cluster_node01_address}
115 port: 9160
116 - host: ${_param:cluster_node02_address}
117 port: 9160
118 - host: ${_param:cluster_node03_address}
119 port: 9160
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100120 identity:
121 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200122 version: ${_param:opencontrail_identity_version}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100123 region: RegionOne
ibumarskovf6086782019-04-10 16:37:27 +0400124 protocol: ${_param:opencontrail_identity_protocol}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100125 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200126 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100127 user: ${_param:opencontrail_admin_user}
128 password: '${_param:opencontrail_admin_password}'
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100129 token: '${_param:keystone_service_token}'
130 tenant: admin
Marek Celouddbba7ed2017-12-07 10:36:24 +0100131 alarm_gen:
132 workers: 1
133 port_prefix: 59
Filip Pytloun27930402015-10-06 16:28:32 +0200134 database:
135 version: ${_param:opencontrail_version}
136 cassandra:
137 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200138 type: cluster
Filip Pytloun27930402015-10-06 16:28:32 +0200139 enabled: true
140 name: 'Contrail'
141 minimum_disk: 10
142 original_token: 0
143 data_dirs:
144 - /var/lib/cassandra
145 id: ${_param:opencontrail_database_id}
146 discovery:
147 host: ${_param:cluster_vip_address}
148 bind:
149 host: ${_param:cluster_local_address}
150 port: 9042
151 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200152 # for containers we need to move configdb to neighbouring ports
153 port_configdb: 9041
154 rpc_port_configdb: 9161
155
Filip Pytloun27930402015-10-06 16:28:32 +0200156 members:
157 - host: ${_param:cluster_node01_address}
158 id: 1
159 - host: ${_param:cluster_node02_address}
160 id: 2
161 - host: ${_param:cluster_node03_address}
162 id: 3
163 web:
164 version: ${_param:opencontrail_version}
165 enabled: True
166 bind:
167 address: ${_param:cluster_local_address}
168 master:
169 host: ${_param:cluster_vip_address}
170 analytics:
171 host: ${_param:cluster_vip_address}
172 cache:
173 engine: redis
174 host: ${_param:cluster_local_address}
175 port: 6379
Inessa Vasilevskayaba36d422018-12-20 19:24:57 +0100176 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200177 members:
178 - host: ${_param:cluster_node01_address}
179 id: 1
180 - host: ${_param:cluster_node02_address}
181 id: 2
182 - host: ${_param:cluster_node03_address}
183 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100184 database:
185 engine: cassandra
186 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200187 identity:
188 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200189 version: ${_param:opencontrail_identity_version}
ibumarskov57563252019-04-16 00:15:00 +0400190 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +0200191 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200192 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100193 user: ${_param:opencontrail_admin_user}
194 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +0200195 token: '${_param:keystone_service_token}'
196 tenant: admin
Anton Samoylov72575c22019-06-07 20:26:44 +0400197 api:
198 use_ssl: ${_param:opencontrail_api_ssl_enabled}
marco6a3362a2016-06-28 11:18:10 +0200199 network:
200 engine: neutron
201 host: ${_param:cluster_vip_address}