Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 1 | heat_template_version: queens |
| 2 | |
| 3 | parameters: |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 4 | image: |
| 5 | type: string |
| 6 | description: Name of image to use for servers |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 7 | public_net_id: |
| 8 | type: string |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 9 | default: '' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 10 | description: > |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 11 | ID of public network for which floating IP addresses will be allocated/ |
| 12 | for baremetal case flat provision network for nodes |
| 13 | host_interface: |
| 14 | type: string |
| 15 | description: Interface which connects server with public network (world accessible network). |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 16 | masters_size: |
| 17 | type: number |
| 18 | description: Number of masters instances to deploy |
| 19 | default: 2 |
| 20 | worker_size: |
| 21 | type: number |
| 22 | description: Number of workers to deploy |
| 23 | default: 5 |
| 24 | cmp_size: |
| 25 | type: number |
| 26 | description: Number of cmp workers to deploy |
| 27 | default: 0 |
| 28 | gtw_size: |
| 29 | type: number |
| 30 | description: Number of gtw workers to deploy |
| 31 | default: 0 |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 32 | lma_size: |
| 33 | type: number |
| 34 | description: Number of gtw workers to deploy |
| 35 | default: 0 |
| 36 | osd_size: |
| 37 | type: number |
| 38 | description: Number of gtw workers to deploy |
| 39 | default: 0 |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 40 | ucp_boot_timeout: |
| 41 | type: number |
| 42 | description: Boot timeout for UCP instance |
| 43 | default: 1200 |
| 44 | cluster_public_key: |
| 45 | type: string |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 46 | private_floating_network_cidr: |
| 47 | type: string |
| 48 | default: '10.11.12.0/24' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 49 | private_floating_network_pool_start: |
| 50 | type: string |
| 51 | default: '10.11.12.100' |
| 52 | private_floating_network_pool_end: |
| 53 | type: string |
| 54 | default: '10.11.12.200' |
| 55 | private_floating_network_gateway: |
| 56 | type: string |
Oleh Hryhorov | d3a3024 | 2020-02-11 15:24:01 +0200 | [diff] [blame] | 57 | default: '' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 58 | private_floating_interface: |
| 59 | description: Interface which carries floating network for child OpenStack. |
| 60 | type: string |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 61 | worker_metadata: |
| 62 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 63 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 64 | cmp_metadata: |
| 65 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 66 | default: {} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 67 | gtw_metadata: |
| 68 | type: json |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 69 | default: {} |
| 70 | lma_metadata: |
| 71 | type: json |
| 72 | default: {} |
| 73 | osd_metadata: |
| 74 | type: json |
| 75 | default: {} |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 76 | ucp_flavor: |
| 77 | type: string |
| 78 | default: 'system.compact.openstack.control' |
| 79 | masters_flavor: |
| 80 | type: string |
| 81 | default: 'system.compact.openstack.control' |
| 82 | workers_flavor: |
| 83 | type: string |
| 84 | default: 'system.compact.openstack.control' |
| 85 | cmps_flavor: |
| 86 | type: string |
| 87 | default: 'system.compact.openstack.control' |
| 88 | gtws_flavor: |
| 89 | type: string |
| 90 | default: 'system.compact.openstack.control' |
| 91 | lmas_flavor: |
| 92 | type: string |
| 93 | default: 'system.compact.openstack.control' |
| 94 | osds_flavor: |
| 95 | type: string |
| 96 | default: 'system.compact.openstack.control' |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 97 | functions_override: |
| 98 | type: string |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 99 | docker_ee_url: |
| 100 | type: string |
| 101 | default: 'https://s3-us-west-2.amazonaws.com/internal-docker-ee-builds/docker-ee-linux' |
| 102 | docker_ee_release: |
| 103 | type: string |
| 104 | default: 'stable-19.03' |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 105 | |
| 106 | resources: |
| 107 | key_pair: |
| 108 | type: OS::Nova::KeyPair |
| 109 | properties: |
| 110 | name: { get_param: "OS::stack_name" } |
| 111 | public_key: { get_param: cluster_public_key} |
| 112 | save_private_key: false |
| 113 | |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 114 | accessible_network: |
| 115 | type: MCP2::NetworkAcc |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 116 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 117 | public_net_id: { get_param: public_net_id } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 118 | |
| 119 | private_floating_network: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 120 | type: MCP2::NetworkPrvFl |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 121 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 122 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 123 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 124 | ucp: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 125 | depends_on: accessible_network |
| 126 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 127 | properties: |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 128 | metadata: {"role":"ucp"} |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 129 | docker_ee_url: { get_param: docker_ee_url } |
| 130 | docker_ee_release: { get_param: docker_ee_release } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 131 | node_type: "ucp" |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 132 | key_name: { get_param: "OS::stack_name" } |
| 133 | image: { get_param: image } |
| 134 | flavor: { get_param: ucp_flavor } |
| 135 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 136 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 137 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 138 | private_floating_interface: { get_param: private_floating_interface } |
| 139 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 140 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 141 | public_net_id: { get_param: public_net_id } |
| 142 | host_interface: { get_param: host_interface } |
| 143 | functions_override: { get_param: functions_override } |
| 144 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 145 | |
| 146 | masters: |
| 147 | type: OS::Heat::ResourceGroup |
| 148 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 149 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 150 | properties: |
| 151 | count: { get_param: masters_size } |
| 152 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 153 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 154 | properties: |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 155 | metadata: {"role":"master"} |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 156 | node_type: "master" |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 157 | key_name: { get_param: "OS::stack_name" } |
| 158 | image: { get_param: image } |
| 159 | flavor: { get_param: masters_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 160 | docker_ee_url: { get_param: docker_ee_url } |
| 161 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 162 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 163 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 164 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 165 | private_floating_interface: { get_param: private_floating_interface } |
| 166 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 167 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
| 168 | public_net_id: { get_param: public_net_id } |
| 169 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 170 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 171 | functions_override: { get_param: functions_override } |
| 172 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 173 | |
| 174 | workers: |
| 175 | type: OS::Heat::ResourceGroup |
| 176 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 177 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 178 | properties: |
| 179 | count: { get_param: worker_size } |
| 180 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 181 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 182 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 183 | metadata: { get_param: worker_metadata} |
| 184 | node_type: "worker" |
| 185 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 186 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 187 | flavor: { get_param: workers_flavor } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 188 | key_name: { get_param: "OS::stack_name" } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 189 | docker_ee_url: { get_param: docker_ee_url } |
| 190 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 191 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 192 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 193 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 194 | private_floating_interface: { get_param: private_floating_interface } |
| 195 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 196 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 197 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 198 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 199 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 200 | functions_override: { get_param: functions_override } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 201 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 202 | cmps: |
| 203 | type: OS::Heat::ResourceGroup |
| 204 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 205 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 206 | properties: |
| 207 | count: { get_param: cmp_size } |
| 208 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 209 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 210 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 211 | metadata: { get_param: cmp_metadata } |
| 212 | node_type: "worker" |
| 213 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 214 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 215 | flavor: { get_param: cmps_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 216 | docker_ee_url: { get_param: docker_ee_url } |
| 217 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 218 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 219 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 220 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 221 | private_floating_interface: { get_param: private_floating_interface } |
| 222 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 223 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 224 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 225 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 226 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 227 | functions_override: { get_param: functions_override } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 228 | |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 229 | gtws: |
| 230 | type: OS::Heat::ResourceGroup |
| 231 | depends_on: |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 232 | - ucp |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 233 | properties: |
| 234 | count: { get_param: gtw_size } |
| 235 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 236 | type: MCP2::SrvInstances |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 237 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 238 | metadata: { get_param: gtw_metadata } |
| 239 | node_type: "worker" |
| 240 | key_name: { get_param: "OS::stack_name" } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 241 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 242 | flavor: { get_param: gtws_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 243 | docker_ee_url: { get_param: docker_ee_url } |
| 244 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 245 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 246 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 247 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 248 | private_floating_interface: { get_param: private_floating_interface } |
| 249 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 250 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 251 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 252 | host_interface: { get_param: host_interface } |
Vasyl Saienko | 3ab29c9 | 2020-01-03 10:39:03 +0200 | [diff] [blame] | 253 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 254 | functions_override: { get_param: functions_override } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 255 | |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 256 | lmas: |
| 257 | type: OS::Heat::ResourceGroup |
| 258 | depends_on: |
| 259 | - ucp |
| 260 | properties: |
| 261 | count: { get_param: lma_size } |
| 262 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 263 | type: MCP2::SrvInstances |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 264 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 265 | metadata: { get_param: lma_metadata } |
| 266 | node_type: "worker" |
| 267 | key_name: { get_param: "OS::stack_name" } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 268 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 269 | flavor: { get_param: lmas_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 270 | docker_ee_url: { get_param: docker_ee_url } |
| 271 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 272 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 273 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 274 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 275 | private_floating_interface: { get_param: private_floating_interface } |
| 276 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 277 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 278 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 279 | host_interface: { get_param: host_interface } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 280 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 281 | functions_override: { get_param: functions_override } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 282 | |
| 283 | osds: |
| 284 | type: OS::Heat::ResourceGroup |
| 285 | depends_on: |
| 286 | - ucp |
| 287 | properties: |
| 288 | count: { get_param: osd_size } |
| 289 | resource_def: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 290 | type: MCP2::SrvInstances |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 291 | properties: |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 292 | metadata: { get_param: osd_metadata } |
| 293 | node_type: "worker" |
| 294 | key_name: { get_param: "OS::stack_name" } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 295 | image: { get_param: image } |
sgudz | fe58e8a | 2020-02-11 13:31:40 +0200 | [diff] [blame] | 296 | flavor: { get_param: osds_flavor } |
Mykyta Karpin | 5ed5fd8 | 2020-01-27 18:23:29 +0200 | [diff] [blame] | 297 | docker_ee_url: { get_param: docker_ee_url } |
| 298 | docker_ee_release: { get_param: docker_ee_release } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 299 | accessible_network: { get_attr: [accessible_network, public_network] } |
| 300 | private_floating_network: { get_attr: [private_floating_network, private_floating_network_id] } |
| 301 | private_floating_subnet_id: { get_attr: [private_floating_network, private_floating_subnet_id] } |
| 302 | private_floating_interface: { get_param: private_floating_interface } |
| 303 | private_floating_network_cidr: { get_param: private_floating_network_cidr } |
| 304 | accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]} |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 305 | public_net_id: { get_param: public_net_id } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 306 | host_interface: { get_param: host_interface } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 307 | ucp_master_host: { get_attr: [ucp, server_private_ip] } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 308 | functions_override: { get_param: functions_override } |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 309 | |
| 310 | outputs: |
| 311 | ucp_ips: |
| 312 | description: Private IP addresses of the deployed ucp instances |
| 313 | value: { get_attr: [ucp, server_public_ip] } |
| 314 | masters_ips: |
| 315 | description: Private IP addresses of the deployed masters instances |
| 316 | value: { get_attr: [masters, server_public_ip] } |
| 317 | workers_ips: |
| 318 | description: Private IP addresses of the deployed worker instances |
| 319 | value: { get_attr: [workers, server_public_ip] } |
| 320 | cmps_ips: |
| 321 | description: Private IP addresses of the deployed cmp instances |
| 322 | value: { get_attr: [cmps, server_public_ip] } |
| 323 | gtws_ips: |
| 324 | description: Private IP addresses of the deployed gtw instances |
| 325 | value: { get_attr: [gtws, server_public_ip] } |
sgudz | b94b4c6 | 2020-02-05 13:21:25 +0200 | [diff] [blame] | 326 | lmas_ips: |
| 327 | description: Private IP addresses of the deployed lma instances |
| 328 | value: { get_attr: [lmas, server_public_ip] } |
| 329 | osds_ips: |
| 330 | description: Private IP addresses of the deployed osd instances |
| 331 | value: { get_attr: [osds, server_public_ip] } |
Oleh Hryhorov | 404e957 | 2020-01-21 18:57:22 +0200 | [diff] [blame] | 332 | worker_private_floating_ips: |
| 333 | description: IPs might be used as gateway |
| 334 | value: { get_attr: [workers, server_private_floating_ip] } |
Oleh Hryhorov | 0019f59 | 2020-01-23 11:50:12 +0200 | [diff] [blame] | 335 | private_floating_cidr: |
| 336 | value: { get_param: private_floating_network_cidr } |
Oleh Hryhorov | b58460e | 2020-02-05 15:53:48 +0200 | [diff] [blame] | 337 | private_floating_network_pool_start: |
| 338 | value: { get_param: private_floating_network_pool_start } |
| 339 | private_floating_network_pool_end: |
| 340 | value: { get_param: private_floating_network_pool_end } |
| 341 | private_floating_network_gateway: |
| 342 | value: { get_param: private_floating_network_gateway } |
| 343 | |