blob: 93155a2f8fad55647ed3b7926110ba934ba36255 [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'
Svimba60c15812018-07-04 14:14:22 +020013 openstack_region: RegionOne
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +010014 opencontrail_redis_password: 'none'
Filip Pytloun27930402015-10-06 16:28:32 +020015 opencontrail:
16 common:
17 version: ${_param:opencontrail_version}
18 identity:
19 engine: keystone
ibumarskov14e25db2019-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:analytics_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}
ibumarskov14e25db2019-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
Anton Samoylov28ad4fa2018-10-02 14:45:41 +040075 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 database:
100 version: ${_param:opencontrail_version}
101 cassandra:
102 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200103 type: control
Filip Pytloun27930402015-10-06 16:28:32 +0200104 enabled: true
105 name: 'Contrail'
106 minimum_disk: 10
107 original_token: 0
108 data_dirs:
109 - /var/lib/cassandra
110 id: ${_param:opencontrail_database_id}
111 discovery:
112 host: ${_param:cluster_vip_address}
113 bind:
114 host: ${_param:cluster_local_address}
115 port: 9042
116 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200117 # for containers we need to move configdb to neighbouring ports
118 port_configdb: 9041
119 rpc_port_configdb: 9161
Filip Pytloun27930402015-10-06 16:28:32 +0200120 members:
121 - host: ${_param:cluster_node01_address}
122 id: 1
123 - host: ${_param:cluster_node02_address}
124 id: 2
125 - host: ${_param:cluster_node03_address}
126 id: 3
127 web:
128 version: ${_param:opencontrail_version}
129 enabled: True
130 bind:
131 address: ${_param:cluster_local_address}
132 analytics:
133 host: ${_param:analytics_vip_address}
134 master:
135 host: ${_param:cluster_vip_address}
136 cache:
137 engine: redis
138 host: ${_param:cluster_local_address}
Inessa Vasilevskaya47b90252018-12-20 19:24:57 +0100139 password: ${_param:opencontrail_redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200140 port: 6379
141 members:
142 - host: ${_param:cluster_node01_address}
143 id: 1
144 - host: ${_param:cluster_node02_address}
145 id: 2
146 - host: ${_param:cluster_node03_address}
147 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100148 database:
149 engine: cassandra
150 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200151 identity:
152 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200153 version: ${_param:opencontrail_identity_version}
154 region: RegionOne
Filip Pytloun27930402015-10-06 16:28:32 +0200155 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200156 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100157 user: ${_param:opencontrail_admin_user}
158 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +0200159 token: '${_param:keystone_service_token}'
160 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200161 network:
162 engine: neutron
Pavel Svimbersky50198682017-10-26 10:18:59 +0200163 host: ${_param:cluster_vip_address}