Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | applications: |
| 2 | - opencontrail |
Jakub Pavlik | 73a5243 | 2016-01-28 11:06:37 +0100 | [diff] [blame] | 3 | classes: |
| 4 | - service.opencontrail.support |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 5 | parameters: |
| 6 | _param: |
| 7 | opencontrail_version: 2.2 |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 8 | opencontrail_identity_port: 35357 |
| 9 | opencontrail_identity_version: '2.0' |
Inessa Vasilevskaya | 2f2476d | 2018-12-06 13:29:01 +0100 | [diff] [blame] | 10 | opencontrail_admin_password: 'none' |
| 11 | opencontrail_admin_user: 'contrail' |
Svimba | b8bf141 | 2018-06-29 11:06:10 +0200 | [diff] [blame] | 12 | keystone_service_token: 'none' |
Inessa Vasilevskaya | ba36d42 | 2018-12-20 19:24:57 +0100 | [diff] [blame] | 13 | opencontrail_redis_password: 'none' |
Svimba | 60c1581 | 2018-07-04 14:14:22 +0200 | [diff] [blame] | 14 | openstack_region: RegionOne |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 15 | opencontrail: |
| 16 | common: |
| 17 | version: ${_param:opencontrail_version} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 18 | identity: |
| 19 | engine: keystone |
| 20 | host: ${_param:cluster_vip_address} |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 21 | port: ${_param:opencontrail_identity_port} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 22 | token: '${_param:keystone_service_token}' |
Inessa Vasilevskaya | 2f2476d | 2018-12-06 13:29:01 +0100 | [diff] [blame] | 23 | password: '${_param:opencontrail_admin_password}' |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 24 | network: |
| 25 | engine: neutron |
| 26 | host: ${_param:cluster_vip_address} |
| 27 | port: 9696 |
| 28 | config: |
| 29 | version: ${_param:opencontrail_version} |
| 30 | enabled: true |
Jakub Pavlik | 6d90f36 | 2016-04-19 20:34:37 +0200 | [diff] [blame] | 31 | multi_tenancy: true |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 32 | 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:cluster_vip_address} |
| 40 | bind: |
| 41 | address: ${_param:cluster_local_address} |
Jakub Pavlik | ee543d4 | 2016-05-30 21:54:11 +0200 | [diff] [blame] | 42 | api_port: 9100 |
| 43 | discovery_port: 9110 |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 44 | 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 Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 56 | identity: |
| 57 | engine: keystone |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 58 | version: ${_param:opencontrail_identity_version} |
Svimba | 60c1581 | 2018-07-04 14:14:22 +0200 | [diff] [blame] | 59 | region: ${_param:openstack_region} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 60 | host: ${_param:cluster_vip_address} |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 61 | port: ${_param:opencontrail_identity_port} |
Inessa Vasilevskaya | 2f2476d | 2018-12-06 13:29:01 +0100 | [diff] [blame] | 62 | user: ${_param:opencontrail_admin_user} |
| 63 | password: '${_param:opencontrail_admin_password}' |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 64 | 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 |
Inessa Vasilevskaya | ce208e7 | 2018-10-22 10:45:09 +0200 | [diff] [blame] | 73 | services_extra_states: |
| 74 | contrail-schema: |
| 75 | - backup |
| 76 | contrail-svc-monitor: |
| 77 | - backup |
| 78 | contrail-device-manager: |
| 79 | - backup |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 80 | control: |
| 81 | version: ${_param:opencontrail_version} |
| 82 | enabled: true |
marco | 5ceb93b | 2016-10-11 16:32:05 +0200 | [diff] [blame] | 83 | id: ${_param:opencontrail_database_id} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 84 | 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 | collector: |
| 98 | version: ${_param:opencontrail_version} |
| 99 | enabled: true |
Petr Jediný | ffbe208 | 2017-03-07 00:56:47 +0100 | [diff] [blame] | 100 | aaa_mode: no-auth |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 101 | bind: |
| 102 | address: ${_param:cluster_local_address} |
Jakub Pavlik | ee543d4 | 2016-05-30 21:54:11 +0200 | [diff] [blame] | 103 | port: 9081 |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 104 | master: |
| 105 | host: ${_param:cluster_local_address} |
Gleb Zimin | 27521c1 | 2018-08-21 14:48:37 +0400 | [diff] [blame] | 106 | contrail_cache: |
| 107 | engine: redis |
| 108 | host: ${_param:cluster_local_address} |
| 109 | port: 6379 |
Inessa Vasilevskaya | ba36d42 | 2018-12-20 19:24:57 +0100 | [diff] [blame] | 110 | password: ${_param:opencontrail_redis_password} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 111 | discovery: |
| 112 | host: ${_param:cluster_vip_address} |
| 113 | data_ttl: 1 |
| 114 | database: |
| 115 | members: |
| 116 | - host: ${_param:cluster_node01_address} |
| 117 | port: 9160 |
| 118 | - host: ${_param:cluster_node02_address} |
| 119 | port: 9160 |
| 120 | - host: ${_param:cluster_node03_address} |
| 121 | port: 9160 |
Marek Celoud | 0dd7bc2 | 2017-12-01 15:05:07 +0100 | [diff] [blame] | 122 | identity: |
| 123 | engine: keystone |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 124 | version: ${_param:opencontrail_identity_version} |
Marek Celoud | 0dd7bc2 | 2017-12-01 15:05:07 +0100 | [diff] [blame] | 125 | region: RegionOne |
| 126 | host: ${_param:cluster_vip_address} |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 127 | port: ${_param:opencontrail_identity_port} |
Inessa Vasilevskaya | 2f2476d | 2018-12-06 13:29:01 +0100 | [diff] [blame] | 128 | user: ${_param:opencontrail_admin_user} |
| 129 | password: '${_param:opencontrail_admin_password}' |
Marek Celoud | 0dd7bc2 | 2017-12-01 15:05:07 +0100 | [diff] [blame] | 130 | token: '${_param:keystone_service_token}' |
| 131 | tenant: admin |
Marek Celoud | dbba7ed | 2017-12-07 10:36:24 +0100 | [diff] [blame] | 132 | alarm_gen: |
| 133 | workers: 1 |
| 134 | port_prefix: 59 |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 135 | database: |
| 136 | version: ${_param:opencontrail_version} |
| 137 | cassandra: |
| 138 | version: 2 |
Svimba | f6c6c0d | 2018-07-16 19:06:30 +0200 | [diff] [blame] | 139 | type: cluster |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 140 | enabled: true |
| 141 | name: 'Contrail' |
| 142 | minimum_disk: 10 |
| 143 | original_token: 0 |
| 144 | data_dirs: |
| 145 | - /var/lib/cassandra |
| 146 | id: ${_param:opencontrail_database_id} |
| 147 | discovery: |
| 148 | host: ${_param:cluster_vip_address} |
| 149 | bind: |
| 150 | host: ${_param:cluster_local_address} |
| 151 | port: 9042 |
| 152 | rpc_port: 9160 |
Petr Jediný | 0302790 | 2018-07-17 20:32:52 +0200 | [diff] [blame] | 153 | # for containers we need to move configdb to neighbouring ports |
| 154 | port_configdb: 9041 |
| 155 | rpc_port_configdb: 9161 |
| 156 | |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 157 | members: |
| 158 | - host: ${_param:cluster_node01_address} |
| 159 | id: 1 |
| 160 | - host: ${_param:cluster_node02_address} |
| 161 | id: 2 |
| 162 | - host: ${_param:cluster_node03_address} |
| 163 | id: 3 |
| 164 | web: |
| 165 | version: ${_param:opencontrail_version} |
| 166 | enabled: True |
| 167 | bind: |
| 168 | address: ${_param:cluster_local_address} |
| 169 | master: |
| 170 | host: ${_param:cluster_vip_address} |
| 171 | analytics: |
| 172 | host: ${_param:cluster_vip_address} |
| 173 | cache: |
| 174 | engine: redis |
| 175 | host: ${_param:cluster_local_address} |
| 176 | port: 6379 |
Inessa Vasilevskaya | ba36d42 | 2018-12-20 19:24:57 +0100 | [diff] [blame] | 177 | password: ${_param:opencontrail_redis_password} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 178 | members: |
| 179 | - host: ${_param:cluster_node01_address} |
| 180 | id: 1 |
| 181 | - host: ${_param:cluster_node02_address} |
| 182 | id: 2 |
| 183 | - host: ${_param:cluster_node03_address} |
| 184 | id: 3 |
Petr Jediný | ffbe208 | 2017-03-07 00:56:47 +0100 | [diff] [blame] | 185 | database: |
| 186 | engine: cassandra |
| 187 | port: 9160 |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 188 | identity: |
| 189 | engine: keystone |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 190 | version: ${_param:opencontrail_identity_version} |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 191 | host: ${_param:cluster_vip_address} |
Jan Cach | f5c8bf0 | 2018-06-08 14:51:18 +0200 | [diff] [blame] | 192 | port: ${_param:opencontrail_identity_port} |
Inessa Vasilevskaya | 2f2476d | 2018-12-06 13:29:01 +0100 | [diff] [blame] | 193 | user: ${_param:opencontrail_admin_user} |
| 194 | password: '${_param:opencontrail_admin_password}' |
Filip Pytloun | 2793040 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 195 | token: '${_param:keystone_service_token}' |
| 196 | tenant: admin |
marco | 6a3362a | 2016-06-28 11:18:10 +0200 | [diff] [blame] | 197 | network: |
| 198 | engine: neutron |
| 199 | host: ${_param:cluster_vip_address} |