blob: 3d618f2695ec0ac19b671dd977962a8b569c98c9 [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'
Svimba60c15812018-07-04 14:14:22 +020014 openstack_region: RegionOne
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +010015 opencontrail_redis_password: 'none'
Filip Pytloun27930402015-10-06 16:28:32 +020016 opencontrail:
17 common:
18 version: ${_param:opencontrail_version}
19 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:analytics_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
Anton Samoylov28ad4fa2018-10-02 14:45:41 +040076 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 database:
101 version: ${_param:opencontrail_version}
102 cassandra:
103 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200104 type: control
Filip Pytloun27930402015-10-06 16:28:32 +0200105 enabled: true
106 name: 'Contrail'
107 minimum_disk: 10
108 original_token: 0
109 data_dirs:
110 - /var/lib/cassandra
111 id: ${_param:opencontrail_database_id}
112 discovery:
113 host: ${_param:cluster_vip_address}
114 bind:
115 host: ${_param:cluster_local_address}
116 port: 9042
117 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200118 # for containers we need to move configdb to neighbouring ports
119 port_configdb: 9041
120 rpc_port_configdb: 9161
Filip Pytloun27930402015-10-06 16:28:32 +0200121 members:
122 - host: ${_param:cluster_node01_address}
123 id: 1
124 - host: ${_param:cluster_node02_address}
125 id: 2
126 - host: ${_param:cluster_node03_address}
127 id: 3
128 web:
129 version: ${_param:opencontrail_version}
130 enabled: True
131 bind:
132 address: ${_param:cluster_local_address}
133 analytics:
134 host: ${_param:analytics_vip_address}
135 master:
136 host: ${_param:cluster_vip_address}
137 cache:
138 engine: redis
139 host: ${_param:cluster_local_address}
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +0100140 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200141 port: 6379
142 members:
143 - host: ${_param:cluster_node01_address}
144 id: 1
145 - host: ${_param:cluster_node02_address}
146 id: 2
147 - host: ${_param:cluster_node03_address}
148 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100149 database:
150 engine: cassandra
151 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200152 identity:
153 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200154 version: ${_param:opencontrail_identity_version}
155 region: RegionOne
ibumarskovea5c65c2019-04-16 00:15:00 +0400156 protocol: ${_param:opencontrail_identity_protocol}
Filip Pytloun27930402015-10-06 16:28:32 +0200157 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200158 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100159 user: ${_param:opencontrail_admin_user}
160 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +0200161 token: '${_param:keystone_service_token}'
162 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200163 network:
164 engine: neutron
Pavel Svimbersky50198682017-10-26 10:18:59 +0200165 host: ${_param:cluster_vip_address}