blob: 58b33fed2b464118788a7def53ef4136f612a52f [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
Gleb Zimin27521c12018-08-21 14:48:37 +040014 redis_password: 'none'
Filip Pytloun27930402015-10-06 16:28:32 +020015 opencontrail:
16 common:
17 version: ${_param:opencontrail_version}
18 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:analytics_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
Anton Samoylov28ad4fa2018-10-02 14:45:41 +040073 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 database:
98 version: ${_param:opencontrail_version}
99 cassandra:
100 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200101 type: control
Filip Pytloun27930402015-10-06 16:28:32 +0200102 enabled: true
103 name: 'Contrail'
104 minimum_disk: 10
105 original_token: 0
106 data_dirs:
107 - /var/lib/cassandra
108 id: ${_param:opencontrail_database_id}
109 discovery:
110 host: ${_param:cluster_vip_address}
111 bind:
112 host: ${_param:cluster_local_address}
113 port: 9042
114 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200115 # for containers we need to move configdb to neighbouring ports
116 port_configdb: 9041
117 rpc_port_configdb: 9161
Filip Pytloun27930402015-10-06 16:28:32 +0200118 members:
119 - host: ${_param:cluster_node01_address}
120 id: 1
121 - host: ${_param:cluster_node02_address}
122 id: 2
123 - host: ${_param:cluster_node03_address}
124 id: 3
125 web:
126 version: ${_param:opencontrail_version}
127 enabled: True
128 bind:
129 address: ${_param:cluster_local_address}
130 analytics:
131 host: ${_param:analytics_vip_address}
132 master:
133 host: ${_param:cluster_vip_address}
134 cache:
135 engine: redis
136 host: ${_param:cluster_local_address}
Gleb Zimin27521c12018-08-21 14:48:37 +0400137 password: ${_param:redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200138 port: 6379
139 members:
140 - host: ${_param:cluster_node01_address}
141 id: 1
142 - host: ${_param:cluster_node02_address}
143 id: 2
144 - host: ${_param:cluster_node03_address}
145 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100146 database:
147 engine: cassandra
148 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200149 identity:
150 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200151 version: ${_param:opencontrail_identity_version}
152 region: RegionOne
Filip Pytloun27930402015-10-06 16:28:32 +0200153 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200154 port: ${_param:opencontrail_identity_port}
Inessa Vasilevskaya2f2476d2018-12-06 13:29:01 +0100155 user: ${_param:opencontrail_admin_user}
156 password: '${_param:opencontrail_admin_password}'
Filip Pytloun27930402015-10-06 16:28:32 +0200157 token: '${_param:keystone_service_token}'
158 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200159 network:
160 engine: neutron
Pavel Svimbersky50198682017-10-26 10:18:59 +0200161 host: ${_param:cluster_vip_address}