blob: 399d330209859e234bf383fe6d0465a829645d54 [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'
Gleb Zimin27521c12018-08-21 14:48:37 +040013 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
20 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020021 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020022 token: '${_param:keystone_service_token}'
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010023 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020024 network:
25 engine: neutron
26 host: ${_param:cluster_vip_address}
27 port: 9696
28 config:
29 version: ${_param:opencontrail_version}
30 enabled: true
Jakub Pavlik6d90f362016-04-19 20:34:37 +020031 multi_tenancy: true
Filip Pytloun27930402015-10-06 16:28:32 +020032 network:
33 engine: neutron
34 host: ${_param:cluster_vip_address}
35 port: 9696
36 discovery:
37 host: ${_param:cluster_vip_address}
38 analytics:
39 host: ${_param:cluster_vip_address}
40 bind:
41 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +020042 api_port: 9100
43 discovery_port: 9110
Filip Pytloun27930402015-10-06 16:28:32 +020044 message_queue:
45 engine: rabbitmq
46 host: ${_param:cluster_vip_address}
47 port: 5672
48 database:
49 members:
50 - host: ${_param:cluster_node01_address}
51 port: 9160
52 - host: ${_param:cluster_node02_address}
53 port: 9160
54 - host: ${_param:cluster_node03_address}
55 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +020056 identity:
57 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +020058 version: ${_param:opencontrail_identity_version}
Svimba60c15812018-07-04 14:14:22 +020059 region: ${_param:openstack_region}
Filip Pytloun27930402015-10-06 16:28:32 +020060 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020061 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +010062 user: ${_param:opencontrail_admin_user}
63 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +020064 token: '${_param:keystone_service_token}'
65 tenant: admin
66 members:
67 - host: ${_param:cluster_node01_address}
68 id: 1
69 - host: ${_param:cluster_node02_address}
70 id: 2
71 - host: ${_param:cluster_node03_address}
72 id: 3
Inessa Vasilevskayace208e72018-10-22 10:45:09 +020073 services_extra_states:
74 contrail-schema:
75 - backup
76 contrail-svc-monitor:
77 - backup
78 contrail-device-manager:
79 - backup
Filip Pytloun27930402015-10-06 16:28:32 +020080 control:
81 version: ${_param:opencontrail_version}
82 enabled: true
marco5ceb93b2016-10-11 16:32:05 +020083 id: ${_param:opencontrail_database_id}
Filip Pytloun27930402015-10-06 16:28:32 +020084 bind:
85 address: ${_param:cluster_local_address}
86 discovery:
87 host: ${_param:cluster_vip_address}
88 master:
89 host: ${_param:cluster_local_address}
90 members:
91 - host: ${_param:cluster_node01_address}
92 id: 1
93 - host: ${_param:cluster_node02_address}
94 id: 2
95 - host: ${_param:cluster_node03_address}
96 id: 3
97 collector:
98 version: ${_param:opencontrail_version}
99 enabled: true
Petr Jedinýffbe2082017-03-07 00:56:47 +0100100 aaa_mode: no-auth
Filip Pytloun27930402015-10-06 16:28:32 +0200101 bind:
102 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +0200103 port: 9081
Filip Pytloun27930402015-10-06 16:28:32 +0200104 master:
105 host: ${_param:cluster_local_address}
Gleb Zimin27521c12018-08-21 14:48:37 +0400106 contrail_cache:
107 engine: redis
108 host: ${_param:cluster_local_address}
109 port: 6379
110 password: ${_param:redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200111 discovery:
112 host: ${_param:cluster_vip_address}
113 data_ttl: 1
114 database:
115 members:
116 - host: ${_param:cluster_node01_address}
117 port: 9160
118 - host: ${_param:cluster_node02_address}
119 port: 9160
120 - host: ${_param:cluster_node03_address}
121 port: 9160
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100122 identity:
123 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200124 version: ${_param:opencontrail_identity_version}
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100125 region: RegionOne
126 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200127 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100128 user: ${_param:opencontrail_admin_user}
129 password: '${_param:opencontrail_admin_password}'
Marek Celoud0dd7bc22017-12-01 15:05:07 +0100130 token: '${_param:keystone_service_token}'
131 tenant: admin
Marek Celouddbba7ed2017-12-07 10:36:24 +0100132 alarm_gen:
133 workers: 1
134 port_prefix: 59
Filip Pytloun27930402015-10-06 16:28:32 +0200135 database:
136 version: ${_param:opencontrail_version}
137 cassandra:
138 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200139 type: cluster
Filip Pytloun27930402015-10-06 16:28:32 +0200140 enabled: true
141 name: 'Contrail'
142 minimum_disk: 10
143 original_token: 0
144 data_dirs:
145 - /var/lib/cassandra
146 id: ${_param:opencontrail_database_id}
147 discovery:
148 host: ${_param:cluster_vip_address}
149 bind:
150 host: ${_param:cluster_local_address}
151 port: 9042
152 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200153 # for containers we need to move configdb to neighbouring ports
154 port_configdb: 9041
155 rpc_port_configdb: 9161
156
Filip Pytloun27930402015-10-06 16:28:32 +0200157 members:
158 - host: ${_param:cluster_node01_address}
159 id: 1
160 - host: ${_param:cluster_node02_address}
161 id: 2
162 - host: ${_param:cluster_node03_address}
163 id: 3
164 web:
165 version: ${_param:opencontrail_version}
166 enabled: True
167 bind:
168 address: ${_param:cluster_local_address}
169 master:
170 host: ${_param:cluster_vip_address}
171 analytics:
172 host: ${_param:cluster_vip_address}
173 cache:
174 engine: redis
175 host: ${_param:cluster_local_address}
176 port: 6379
Gleb Zimin27521c12018-08-21 14:48:37 +0400177 password: ${_param:redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200178 members:
179 - host: ${_param:cluster_node01_address}
180 id: 1
181 - host: ${_param:cluster_node02_address}
182 id: 2
183 - host: ${_param:cluster_node03_address}
184 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100185 database:
186 engine: cassandra
187 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200188 identity:
189 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200190 version: ${_param:opencontrail_identity_version}
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
marco6a3362a2016-06-28 11:18:10 +0200197 network:
198 engine: neutron
199 host: ${_param:cluster_vip_address}