blob: 2450352af67363fec391772198465fddaceb7779 [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:
6 _param:
7 opencontrail_version: 2.2
ibumarskovea5c65c2019-04-16 00:15:00 +04008 opencontrail_identity_protocol: http
Jan Cachf5c8bf02018-06-08 14:51:18 +02009 opencontrail_identity_port: 35357
10 opencontrail_identity_version: '2.0'
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010011 opencontrail_admin_password: 'none'
12 opencontrail_admin_user: 'contrail'
Svimbab8bf1412018-06-29 11:06:10 +020013 keystone_service_token: 'none'
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +010014 opencontrail_redis_password: 'none'
Svimba60c15812018-07-04 14:14:22 +020015 openstack_region: RegionOne
Filip Pytloun27930402015-10-06 16:28:32 +020016 opencontrail:
17 common:
18 version: ${_param:opencontrail_version}
Filip Pytloun27930402015-10-06 16:28:32 +020019 identity:
20 engine: keystone
ibumarskov14e25db2019-04-10 16:37:27 +040021 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +020022 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020023 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020024 token: '${_param:keystone_service_token}'
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010025 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020026 network:
27 engine: neutron
28 host: ${_param:cluster_vip_address}
29 port: 9696
30 config:
31 version: ${_param:opencontrail_version}
32 enabled: true
Jakub Pavlik6d90f362016-04-19 20:34:37 +020033 multi_tenancy: true
Filip Pytloun27930402015-10-06 16:28:32 +020034 network:
35 engine: neutron
36 host: ${_param:cluster_vip_address}
37 port: 9696
38 discovery:
39 host: ${_param:cluster_vip_address}
40 analytics:
41 host: ${_param:cluster_vip_address}
42 bind:
43 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +020044 api_port: 9100
45 discovery_port: 9110
Filip Pytloun27930402015-10-06 16:28:32 +020046 message_queue:
47 engine: rabbitmq
48 host: ${_param:cluster_vip_address}
49 port: 5672
50 database:
51 members:
52 - host: ${_param:cluster_node01_address}
53 port: 9160
54 - host: ${_param:cluster_node02_address}
55 port: 9160
56 - host: ${_param:cluster_node03_address}
57 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +020058 identity:
59 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +020060 version: ${_param:opencontrail_identity_version}
Svimba60c15812018-07-04 14:14:22 +020061 region: ${_param:openstack_region}
ibumarskov14e25db2019-04-10 16:37:27 +040062 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +020063 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020064 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010065 user: ${_param:opencontrail_admin_user}
66 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020067 token: '${_param:keystone_service_token}'
68 tenant: admin
69 members:
70 - host: ${_param:cluster_node01_address}
71 id: 1
72 - host: ${_param:cluster_node02_address}
73 id: 2
74 - host: ${_param:cluster_node03_address}
75 id: 3
Inessa Vasilevskayace208e72018-10-22 10:45:09 +020076 services_extra_states:
77 contrail-schema:
78 - backup
79 contrail-svc-monitor:
80 - backup
81 contrail-device-manager:
82 - backup
Filip Pytloun27930402015-10-06 16:28:32 +020083 control:
84 version: ${_param:opencontrail_version}
85 enabled: true
marco5ceb93b2016-10-11 16:32:05 +020086 id: ${_param:opencontrail_database_id}
Filip Pytloun27930402015-10-06 16:28:32 +020087 bind:
88 address: ${_param:cluster_local_address}
89 discovery:
90 host: ${_param:cluster_vip_address}
91 master:
92 host: ${_param:cluster_local_address}
93 members:
94 - host: ${_param:cluster_node01_address}
95 id: 1
96 - host: ${_param:cluster_node02_address}
97 id: 2
98 - host: ${_param:cluster_node03_address}
99 id: 3
100 collector:
101 version: ${_param:opencontrail_version}
102 enabled: true
Petr Jedinýffbe2082017-03-07 00:56:47 +0100103 aaa_mode: no-auth
Filip Pytloun27930402015-10-06 16:28:32 +0200104 bind:
105 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +0200106 port: 9081
Filip Pytloun27930402015-10-06 16:28:32 +0200107 master:
108 host: ${_param:cluster_local_address}
Gleb Zimin27521c12018-08-21 14:48:37 +0400109 contrail_cache:
110 engine: redis
111 host: ${_param:cluster_local_address}
112 port: 6379
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +0100113 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200114 discovery:
115 host: ${_param:cluster_vip_address}
116 data_ttl: 1
117 database:
118 members:
119 - host: ${_param:cluster_node01_address}
120 port: 9160
121 - host: ${_param:cluster_node02_address}
122 port: 9160
123 - host: ${_param:cluster_node03_address}
124 port: 9160
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100125 identity:
126 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200127 version: ${_param:opencontrail_identity_version}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100128 region: RegionOne
ibumarskov14e25db2019-04-10 16:37:27 +0400129 protocol: ${_param:opencontrail_identity_protocol}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100130 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200131 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100132 user: ${_param:opencontrail_admin_user}
133 password: '${_param:opencontrail_admin_password}'
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100134 token: '${_param:keystone_service_token}'
135 tenant: admin
Marek Celouddbba7ed2017-12-07 10:36:24 +0100136 alarm_gen:
137 workers: 1
138 port_prefix: 59
Filip Pytloun27930402015-10-06 16:28:32 +0200139 database:
140 version: ${_param:opencontrail_version}
141 cassandra:
142 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200143 type: cluster
Filip Pytloun27930402015-10-06 16:28:32 +0200144 enabled: true
145 name: 'Contrail'
146 minimum_disk: 10
147 original_token: 0
148 data_dirs:
149 - /var/lib/cassandra
150 id: ${_param:opencontrail_database_id}
151 discovery:
152 host: ${_param:cluster_vip_address}
153 bind:
154 host: ${_param:cluster_local_address}
155 port: 9042
156 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200157 # for containers we need to move configdb to neighbouring ports
158 port_configdb: 9041
159 rpc_port_configdb: 9161
160
Filip Pytloun27930402015-10-06 16:28:32 +0200161 members:
162 - host: ${_param:cluster_node01_address}
163 id: 1
164 - host: ${_param:cluster_node02_address}
165 id: 2
166 - host: ${_param:cluster_node03_address}
167 id: 3
168 web:
169 version: ${_param:opencontrail_version}
170 enabled: True
171 bind:
172 address: ${_param:cluster_local_address}
173 master:
174 host: ${_param:cluster_vip_address}
175 analytics:
176 host: ${_param:cluster_vip_address}
177 cache:
178 engine: redis
179 host: ${_param:cluster_local_address}
180 port: 6379
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +0100181 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200182 members:
183 - host: ${_param:cluster_node01_address}
184 id: 1
185 - host: ${_param:cluster_node02_address}
186 id: 2
187 - host: ${_param:cluster_node03_address}
188 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100189 database:
190 engine: cassandra
191 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200192 identity:
193 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200194 version: ${_param:opencontrail_identity_version}
ibumarskovea5c65c2019-04-16 00:15:00 +0400195 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +0200196 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200197 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100198 user: ${_param:opencontrail_admin_user}
199 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +0200200 token: '${_param:keystone_service_token}'
201 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200202 network:
203 engine: neutron
204 host: ${_param:cluster_vip_address}