blob: d033ccf9c0979b12da50e732e7c72bc347a214e5 [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'
Svimbab8bf1412018-06-29 11:06:10 +020010 keystone_admin_password: 'none'
11 keystone_service_token: 'none'
Svimba60c15812018-07-04 14:14:22 +020012 openstack_region: RegionOne
Gleb Zimin27521c12018-08-21 14:48:37 +040013 redis_password: 'none'
Filip Pytloun27930402015-10-06 16:28:32 +020014 opencontrail:
15 common:
16 version: ${_param:opencontrail_version}
17 identity:
18 engine: keystone
19 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020020 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020021 token: '${_param:keystone_service_token}'
22 password: '${_param:keystone_admin_password}'
23 network:
24 engine: neutron
25 host: ${_param:cluster_vip_address}
26 port: 9696
27 config:
28 version: ${_param:opencontrail_version}
29 enabled: true
Jakub Pavlik6d90f362016-04-19 20:34:37 +020030 multi_tenancy: true
Filip Pytloun27930402015-10-06 16:28:32 +020031 network:
32 engine: neutron
33 host: ${_param:cluster_vip_address}
34 port: 9696
35 discovery:
36 host: ${_param:cluster_vip_address}
37 analytics:
38 host: ${_param:analytics_vip_address}
39 bind:
40 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +020041 api_port: 9100
42 discovery_port: 9110
Filip Pytloun27930402015-10-06 16:28:32 +020043 message_queue:
44 engine: rabbitmq
45 host: ${_param:cluster_vip_address}
46 port: 5672
47 database:
48 members:
49 - host: ${_param:cluster_node01_address}
50 port: 9160
51 - host: ${_param:cluster_node02_address}
52 port: 9160
53 - host: ${_param:cluster_node03_address}
54 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +020055 identity:
56 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +020057 version: ${_param:opencontrail_identity_version}
Svimba60c15812018-07-04 14:14:22 +020058 region: ${_param:openstack_region}
Filip Pytloun27930402015-10-06 16:28:32 +020059 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020060 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020061 user: admin
62 password: '${_param:keystone_admin_password}'
63 token: '${_param:keystone_service_token}'
64 tenant: admin
65 members:
66 - host: ${_param:cluster_node01_address}
67 id: 1
68 - host: ${_param:cluster_node02_address}
69 id: 2
70 - host: ${_param:cluster_node03_address}
71 id: 3
Anton Samoylov28ad4fa2018-10-02 14:45:41 +040072 services_extra_states:
73 contrail-schema:
74 - backup
75 contrail-svc-monitor:
76 - backup
77 contrail-device-manager:
78 - backup
Filip Pytloun27930402015-10-06 16:28:32 +020079 control:
80 version: ${_param:opencontrail_version}
81 enabled: true
marco5ceb93b2016-10-11 16:32:05 +020082 id: ${_param:opencontrail_database_id}
Filip Pytloun27930402015-10-06 16:28:32 +020083 bind:
84 address: ${_param:cluster_local_address}
85 discovery:
86 host: ${_param:cluster_vip_address}
87 master:
88 host: ${_param:cluster_local_address}
89 members:
90 - host: ${_param:cluster_node01_address}
91 id: 1
92 - host: ${_param:cluster_node02_address}
93 id: 2
94 - host: ${_param:cluster_node03_address}
95 id: 3
96 database:
97 version: ${_param:opencontrail_version}
98 cassandra:
99 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +0200100 type: control
Filip Pytloun27930402015-10-06 16:28:32 +0200101 enabled: true
102 name: 'Contrail'
103 minimum_disk: 10
104 original_token: 0
105 data_dirs:
106 - /var/lib/cassandra
107 id: ${_param:opencontrail_database_id}
108 discovery:
109 host: ${_param:cluster_vip_address}
110 bind:
111 host: ${_param:cluster_local_address}
112 port: 9042
113 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200114 # for containers we need to move configdb to neighbouring ports
115 port_configdb: 9041
116 rpc_port_configdb: 9161
Filip Pytloun27930402015-10-06 16:28:32 +0200117 members:
118 - host: ${_param:cluster_node01_address}
119 id: 1
120 - host: ${_param:cluster_node02_address}
121 id: 2
122 - host: ${_param:cluster_node03_address}
123 id: 3
124 web:
125 version: ${_param:opencontrail_version}
126 enabled: True
127 bind:
128 address: ${_param:cluster_local_address}
129 analytics:
130 host: ${_param:analytics_vip_address}
131 master:
132 host: ${_param:cluster_vip_address}
133 cache:
134 engine: redis
135 host: ${_param:cluster_local_address}
Gleb Zimin27521c12018-08-21 14:48:37 +0400136 password: ${_param:redis_password}
Filip Pytloun27930402015-10-06 16:28:32 +0200137 port: 6379
138 members:
139 - host: ${_param:cluster_node01_address}
140 id: 1
141 - host: ${_param:cluster_node02_address}
142 id: 2
143 - host: ${_param:cluster_node03_address}
144 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100145 database:
146 engine: cassandra
147 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200148 identity:
149 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200150 version: ${_param:opencontrail_identity_version}
151 region: RegionOne
Filip Pytloun27930402015-10-06 16:28:32 +0200152 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200153 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +0200154 user: admin
155 password: '${_param:keystone_admin_password}'
156 token: '${_param:keystone_service_token}'
157 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200158 network:
159 engine: neutron
Pavel Svimbersky50198682017-10-26 10:18:59 +0200160 host: ${_param:cluster_vip_address}