blob: 7cb35210820606b672c2c23c70de9c343ee15b5b [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
Filip Pytloun27930402015-10-06 16:28:32 +020013 opencontrail:
14 common:
15 version: ${_param:opencontrail_version}
16 identity:
17 engine: keystone
18 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020019 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020020 token: '${_param:keystone_service_token}'
21 password: '${_param:keystone_admin_password}'
22 network:
23 engine: neutron
24 host: ${_param:cluster_vip_address}
25 port: 9696
26 config:
27 version: ${_param:opencontrail_version}
28 enabled: true
Jakub Pavlik6d90f362016-04-19 20:34:37 +020029 multi_tenancy: true
Filip Pytloun27930402015-10-06 16:28:32 +020030 network:
31 engine: neutron
32 host: ${_param:cluster_vip_address}
33 port: 9696
34 discovery:
35 host: ${_param:cluster_vip_address}
36 analytics:
37 host: ${_param:analytics_vip_address}
38 bind:
39 address: ${_param:cluster_local_address}
Jakub Pavlikee543d42016-05-30 21:54:11 +020040 api_port: 9100
41 discovery_port: 9110
Filip Pytloun27930402015-10-06 16:28:32 +020042 message_queue:
43 engine: rabbitmq
44 host: ${_param:cluster_vip_address}
45 port: 5672
46 database:
47 members:
48 - host: ${_param:cluster_node01_address}
49 port: 9160
50 - host: ${_param:cluster_node02_address}
51 port: 9160
52 - host: ${_param:cluster_node03_address}
53 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +020054 identity:
55 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +020056 version: ${_param:opencontrail_identity_version}
Svimba60c15812018-07-04 14:14:22 +020057 region: ${_param:openstack_region}
Filip Pytloun27930402015-10-06 16:28:32 +020058 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +020059 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +020060 user: admin
61 password: '${_param:keystone_admin_password}'
62 token: '${_param:keystone_service_token}'
63 tenant: admin
64 members:
65 - host: ${_param:cluster_node01_address}
66 id: 1
67 - host: ${_param:cluster_node02_address}
68 id: 2
69 - host: ${_param:cluster_node03_address}
70 id: 3
Anton Samoylov28ad4fa2018-10-02 14:45:41 +040071 services_extra_states:
72 contrail-schema:
73 - backup
74 contrail-svc-monitor:
75 - backup
76 contrail-device-manager:
77 - backup
Filip Pytloun27930402015-10-06 16:28:32 +020078 control:
79 version: ${_param:opencontrail_version}
80 enabled: true
marco5ceb93b2016-10-11 16:32:05 +020081 id: ${_param:opencontrail_database_id}
Filip Pytloun27930402015-10-06 16:28:32 +020082 bind:
83 address: ${_param:cluster_local_address}
84 discovery:
85 host: ${_param:cluster_vip_address}
86 master:
87 host: ${_param:cluster_local_address}
88 members:
89 - host: ${_param:cluster_node01_address}
90 id: 1
91 - host: ${_param:cluster_node02_address}
92 id: 2
93 - host: ${_param:cluster_node03_address}
94 id: 3
95 database:
96 version: ${_param:opencontrail_version}
97 cassandra:
98 version: 2
Svimbaf6c6c0d2018-07-16 19:06:30 +020099 type: control
Filip Pytloun27930402015-10-06 16:28:32 +0200100 enabled: true
101 name: 'Contrail'
102 minimum_disk: 10
103 original_token: 0
104 data_dirs:
105 - /var/lib/cassandra
106 id: ${_param:opencontrail_database_id}
107 discovery:
108 host: ${_param:cluster_vip_address}
109 bind:
110 host: ${_param:cluster_local_address}
111 port: 9042
112 rpc_port: 9160
Petr Jediný03027902018-07-17 20:32:52 +0200113 # for containers we need to move configdb to neighbouring ports
114 port_configdb: 9041
115 rpc_port_configdb: 9161
Filip Pytloun27930402015-10-06 16:28:32 +0200116 members:
117 - host: ${_param:cluster_node01_address}
118 id: 1
119 - host: ${_param:cluster_node02_address}
120 id: 2
121 - host: ${_param:cluster_node03_address}
122 id: 3
123 web:
124 version: ${_param:opencontrail_version}
125 enabled: True
126 bind:
127 address: ${_param:cluster_local_address}
128 analytics:
129 host: ${_param:analytics_vip_address}
130 master:
131 host: ${_param:cluster_vip_address}
132 cache:
133 engine: redis
134 host: ${_param:cluster_local_address}
135 port: 6379
136 members:
137 - host: ${_param:cluster_node01_address}
138 id: 1
139 - host: ${_param:cluster_node02_address}
140 id: 2
141 - host: ${_param:cluster_node03_address}
142 id: 3
Petr Jedinýffbe2082017-03-07 00:56:47 +0100143 database:
144 engine: cassandra
145 port: 9160
Filip Pytloun27930402015-10-06 16:28:32 +0200146 identity:
147 engine: keystone
Jan Cachf5c8bf02018-06-08 14:51:18 +0200148 version: ${_param:opencontrail_identity_version}
149 region: RegionOne
Filip Pytloun27930402015-10-06 16:28:32 +0200150 host: ${_param:cluster_vip_address}
Jan Cachf5c8bf02018-06-08 14:51:18 +0200151 port: ${_param:opencontrail_identity_port}
Filip Pytloun27930402015-10-06 16:28:32 +0200152 user: admin
153 password: '${_param:keystone_admin_password}'
154 token: '${_param:keystone_service_token}'
155 tenant: admin
marco6a3362a2016-06-28 11:18:10 +0200156 network:
157 engine: neutron
Pavel Svimbersky50198682017-10-26 10:18:59 +0200158 host: ${_param:cluster_vip_address}