blob: 5b1da1c46b3016c9b8ada92a21cda330291b8b2f [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
Jan Cachf5c8bf02018-06-08 14:51:18 +02008 opencontrail_identity_port: 35357
9 opencontrail_identity_version: '2.0'
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010010 opencontrail_admin_password: 'none'
11 opencontrail_admin_user: 'contrail'
Svimbab8bf1412018-06-29 11:06:10 +020012 keystone_service_token: 'none'
Inessa Vasilevskayaba36d422018-12-20 19:24:57 +010013 opencontrail_redis_password: 'none'
Svimba60c15812018-07-04 14:14:22 +020014 openstack_region: RegionOne
Filip Pytloun27930402015-10-06 16:28:32 +020015 opencontrail:
16 common:
17 version: ${_param:opencontrail_version}
Filip Pytloun27930402015-10-06 16:28:32 +020018 identity:
19 engine: keystone
ibumarskovf6086782019-04-10 16:37:27 +040020 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +020021 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020022 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020023 token: '${_param:keystone_service_token}'
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010024 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020025 network:
26 engine: neutron
27 host: ${_param:cluster_vip_address}
28 port: 9696
29 config:
30 version: ${_param:opencontrail_version}
31 enabled: true
Jakub Pavlik6d90f362016-04-19 20:34:37 +020032 multi_tenancy: true
Filip Pytloun27930402015-10-06 16:28:32 +020033 network:
34 engine: neutron
35 host: ${_param:cluster_vip_address}
36 port: 9696
37 discovery:
38 host: ${_param:cluster_vip_address}
39 analytics:
40 host: ${_param:cluster_vip_address}
41 bind:
42 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +020043 api_port: 9100
44 discovery_port: 9110
Filip Pytloun27930402015-10-06 16:28:32 +020045 message_queue:
46 engine: rabbitmq
47 host: ${_param:cluster_vip_address}
48 port: 5672
49 database:
50 members:
51 - host: ${_param:cluster_node01_address}
52 port: 9160
53 - host: ${_param:cluster_node02_address}
54 port: 9160
55 - host: ${_param:cluster_node03_address}
56 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +020057 identity:
58 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +020059 version: ${_param:opencontrail_identity_version}
Svimba60c15812018-07-04 14:14:22 +020060 region: ${_param:openstack_region}
ibumarskovf6086782019-04-10 16:37:27 +040061 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +020062 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020063 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010064 user: ${_param:opencontrail_admin_user}
65 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020066 token: '${_param:keystone_service_token}'
67 tenant: admin
68 members:
69 - host: ${_param:cluster_node01_address}
70 id: 1
71 - host: ${_param:cluster_node02_address}
72 id: 2
73 - host: ${_param:cluster_node03_address}
74 id: 3
Inessa Vasilevskayace208e72018-10-22 10:45:09 +020075 services_extra_states:
76 contrail-schema:
77 - backup
78 contrail-svc-monitor:
79 - backup
80 contrail-device-manager:
81 - backup
Filip Pytloun27930402015-10-06 16:28:32 +020082 control:
83 version: ${_param:opencontrail_version}
84 enabled: true
marco5ceb93b2016-10-11 16:32:05 +020085 id: ${_param:opencontrail_database_id}
Filip Pytloun27930402015-10-06 16:28:32 +020086 bind:
87 address: ${_param:cluster_local_address}
88 discovery:
89 host: ${_param:cluster_vip_address}
90 master:
91 host: ${_param:cluster_local_address}
92 members:
93 - host: ${_param:cluster_node01_address}
94 id: 1
95 - host: ${_param:cluster_node02_address}
96 id: 2
97 - host: ${_param:cluster_node03_address}
98 id: 3
99 collector:
100 version: ${_param:opencontrail_version}
101 enabled: true
Petr Jedinýffbe2082017-03-07 00:56:47 +0100102 aaa_mode: no-auth
Filip Pytloun27930402015-10-06 16:28:32 +0200103 bind:
104 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +0200105 port: 9081
Filip Pytloun27930402015-10-06 16:28:32 +0200106 master:
107 host: ${_param:cluster_local_address}
Gleb Zimin27521c12018-08-21 14:48:37 +0400108 contrail_cache:
109 engine: redis
110 host: ${_param:cluster_local_address}
111 port: 6379
Inessa Vasilevskayaba36d422018-12-20 19:24:57 +0100112 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200113 discovery:
114 host: ${_param:cluster_vip_address}
115 data_ttl: 1
116 database:
117 members:
118 - host: ${_param:cluster_node01_address}
119 port: 9160
120 - host: ${_param:cluster_node02_address}
121 port: 9160
122 - host: ${_param:cluster_node03_address}
123 port: 9160
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100124 identity:
125 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200126 version: ${_param:opencontrail_identity_version}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100127 region: RegionOne
ibumarskovf6086782019-04-10 16:37:27 +0400128 protocol: ${_param:opencontrail_identity_protocol}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100129 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200130 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100131 user: ${_param:opencontrail_admin_user}
132 password: '${_param:opencontrail_admin_password}'
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100133 token: '${_param:keystone_service_token}'
134 tenant: admin
Marek Celouddbba7ed2017-12-07 10:36:24 +0100135 alarm_gen:
136 workers: 1
137 port_prefix: 59
Filip Pytloun27930402015-10-06 16:28:32 +0200138 database:
139 version: ${_param:opencontrail_version}
140 cassandra:
141 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200142 type: cluster
Filip Pytloun27930402015-10-06 16:28:32 +0200143 enabled: true
144 name: 'Contrail'
145 minimum_disk: 10
146 original_token: 0
147 data_dirs:
148 - /var/lib/cassandra
149 id: ${_param:opencontrail_database_id}
150 discovery:
151 host: ${_param:cluster_vip_address}
152 bind:
153 host: ${_param:cluster_local_address}
154 port: 9042
155 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200156 # for containers we need to move configdb to neighbouring ports
157 port_configdb: 9041
158 rpc_port_configdb: 9161
159
Filip Pytloun27930402015-10-06 16:28:32 +0200160 members:
161 - host: ${_param:cluster_node01_address}
162 id: 1
163 - host: ${_param:cluster_node02_address}
164 id: 2
165 - host: ${_param:cluster_node03_address}
166 id: 3
167 web:
168 version: ${_param:opencontrail_version}
169 enabled: True
170 bind:
171 address: ${_param:cluster_local_address}
172 master:
173 host: ${_param:cluster_vip_address}
174 analytics:
175 host: ${_param:cluster_vip_address}
176 cache:
177 engine: redis
178 host: ${_param:cluster_local_address}
179 port: 6379
Inessa Vasilevskayaba36d422018-12-20 19:24:57 +0100180 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200181 members:
182 - host: ${_param:cluster_node01_address}
183 id: 1
184 - host: ${_param:cluster_node02_address}
185 id: 2
186 - host: ${_param:cluster_node03_address}
187 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100188 database:
189 engine: cassandra
190 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200191 identity:
192 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200193 version: ${_param:opencontrail_identity_version}
Filip Pytloun27930402015-10-06 16:28:32 +0200194 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200195 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100196 user: ${_param:opencontrail_admin_user}
197 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +0200198 token: '${_param:keystone_service_token}'
199 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200200 network:
201 engine: neutron
202 host: ${_param:cluster_vip_address}