Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 1 | applications: |
| 2 | - baremetal_simulator |
| 3 | parameters: |
Oleksii Grudev | 469be55 | 2018-11-16 14:28:52 +0200 | [diff] [blame] | 4 | _param: |
| 5 | openstack_baremetal_simulator_mac_vendor: "aa:bb:cc" |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 6 | openstack_baremetal_simulator_api_microversion: '1.33' |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 7 | ironic: |
| 8 | client: |
| 9 | enabled: true |
| 10 | nodes: |
| 11 | admin_identity: |
| 12 | - name: ${linux:network:hostname}-n0 |
| 13 | driver: pxe_ipmitool |
| 14 | properties: |
| 15 | local_gb: 10 |
| 16 | cpus: 2 |
| 17 | memory_mb: 1024 |
| 18 | cpu_arch: x86_64 |
Vasyl Saienko | 9d8432b | 2018-12-24 13:55:10 +0000 | [diff] [blame] | 19 | capabilities: 'iscsi_boot:True' |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 20 | driver_info: |
| 21 | ipmi_username: admin |
| 22 | ipmi_password: password |
Oleksii Grudev | 33db479 | 2019-01-30 15:24:46 +0200 | [diff] [blame^] | 23 | ipmi_address: ${_param:single_baremetal_address} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 24 | ipmi_port: 6200 |
| 25 | deploy_ramdisk: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_ramdisk_file} |
| 26 | deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file} |
| 27 | network_interface: 'neutron' |
Vasyl Saienko | 79045fe | 2018-12-24 14:22:43 +0000 | [diff] [blame] | 28 | storage_interface: 'cinder' |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 29 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 30 | ports: |
Oleksii Grudev | 469be55 | 2018-11-16 14:28:52 +0200 | [diff] [blame] | 31 | - address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:00:00" |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 32 | local_link_connection: |
| 33 | switch_id: 00:00:00:00:00:00 |
| 34 | switch_info: br-simulator |
| 35 | port_id: tap-bmt-n0i1 |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 36 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Oleksii Grudev | 469be55 | 2018-11-16 14:28:52 +0200 | [diff] [blame] | 37 | - address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:00:01" |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 38 | local_link_connection: |
| 39 | switch_id: 00:00:00:00:00:00 |
| 40 | switch_info: br-simulator |
| 41 | port_id: tap-bmt-n0i2 |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 42 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Vasyl Saienko | c885454 | 2018-12-24 12:29:40 +0000 | [diff] [blame] | 43 | volume_connectors: |
| 44 | vc0: |
| 45 | name: iqn.2017-05.org.openstack.${linux:network:hostname}-n0-vc0 |
| 46 | volume_type: iqn |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 47 | - name: ${linux:network:hostname}-n1 |
| 48 | driver: pxe_ipmitool |
| 49 | properties: |
| 50 | local_gb: 10 |
| 51 | cpus: 2 |
| 52 | memory_mb: 1024 |
| 53 | cpu_arch: x86_64 |
Vasyl Saienko | 9d8432b | 2018-12-24 13:55:10 +0000 | [diff] [blame] | 54 | capabilities: 'iscsi_boot:True' |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 55 | driver_info: |
| 56 | ipmi_username: admin |
| 57 | ipmi_password: password |
Oleksii Grudev | 33db479 | 2019-01-30 15:24:46 +0200 | [diff] [blame^] | 58 | ipmi_address: ${_param:single_baremetal_address} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 59 | ipmi_port: 6201 |
| 60 | deploy_ramdisk: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_ramdisk_file} |
| 61 | deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file} |
| 62 | network_interface: 'neutron' |
Vasyl Saienko | 79045fe | 2018-12-24 14:22:43 +0000 | [diff] [blame] | 63 | storage_interface: 'cinder' |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 64 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 65 | ports: |
Oleksii Grudev | 469be55 | 2018-11-16 14:28:52 +0200 | [diff] [blame] | 66 | - address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:01:00" |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 67 | local_link_connection: |
| 68 | switch_id: 00:00:00:00:00:00 |
| 69 | switch_info: br-simulator |
| 70 | port_id: tap-bmt-n1i1 |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 71 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 72 | deployment_profile: |
| 73 | network: |
| 74 | fixed_ips: |
| 75 | - ip_address: 192.168.90.111 |
| 76 | subnet_name: baremetal-subnet |
Vasyl Saienko | c885454 | 2018-12-24 12:29:40 +0000 | [diff] [blame] | 77 | volume_connectors: |
| 78 | vc0: |
| 79 | name: iqn.2017-05.org.openstack.${linux:network:hostname}-n1-vc0 |
| 80 | volume_type: iqn |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 81 | - name: ${linux:network:hostname}-n2 |
| 82 | driver: pxe_ipmitool |
| 83 | properties: |
| 84 | local_gb: 10 |
| 85 | cpus: 2 |
| 86 | memory_mb: 1024 |
| 87 | cpu_arch: x86_64 |
Vasyl Saienko | 9d8432b | 2018-12-24 13:55:10 +0000 | [diff] [blame] | 88 | capabilities: 'iscsi_boot:True' |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 89 | driver_info: |
| 90 | ipmi_username: admin |
| 91 | ipmi_password: password |
Oleksii Grudev | 33db479 | 2019-01-30 15:24:46 +0200 | [diff] [blame^] | 92 | ipmi_address: ${_param:single_baremetal_address} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 93 | ipmi_port: 6202 |
| 94 | deploy_ramdisk: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_ramdisk_file} |
| 95 | deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file} |
| 96 | network_interface: 'neutron' |
Vasyl Saienko | 79045fe | 2018-12-24 14:22:43 +0000 | [diff] [blame] | 97 | storage_interface: 'cinder' |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 98 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 99 | ports: |
Oleksii Grudev | 469be55 | 2018-11-16 14:28:52 +0200 | [diff] [blame] | 100 | - address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:02:00" |
Vasyl Saienko | ab010bb | 2017-09-25 18:26:40 +0300 | [diff] [blame] | 101 | local_link_connection: |
| 102 | switch_id: 00:00:00:00:00:00 |
| 103 | switch_info: br-simulator |
| 104 | port_id: tap-bmt-n2i1 |
Vasyl Saienko | bc09577 | 2018-12-27 11:01:07 +0200 | [diff] [blame] | 105 | microversion: ${_param:openstack_baremetal_simulator_api_microversion} |
Vasyl Saienko | c885454 | 2018-12-24 12:29:40 +0000 | [diff] [blame] | 106 | volume_connectors: |
| 107 | vc0: |
| 108 | name: iqn.2017-05.org.openstack.${linux:network:hostname}-n2-vc0 |
| 109 | volume_type: iqn |