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