Add soft param for ironic.node.driver
set openstack_baremetal_simulator_node_driver: 'pxe_ipmitool'
by default
Change-Id: Ic88d0a7f2ddf6e023c66a236b9cac8977b2bcd6e
Related-Prod: PROD-27532
diff --git a/metadata/service/nodes_flat.yml b/metadata/service/nodes_flat.yml
index 3d4d284..6ba8d0e 100644
--- a/metadata/service/nodes_flat.yml
+++ b/metadata/service/nodes_flat.yml
@@ -4,13 +4,14 @@
_param:
openstack_baremetal_simulator_mac_vendor: "aa:bb:cc"
openstack_baremetal_simulator_api_microversion: '1.33'
+ openstack_baremetal_simulator_node_driver: 'pxe_ipmitool'
ironic:
client:
enabled: true
nodes:
admin_identity:
- name: ${linux:network:hostname}-n0
- driver: pxe_ipmitool
+ driver: ${_param:openstack_baremetal_simulator_node_driver}
microversion: ${_param:openstack_baremetal_simulator_api_microversion}
properties:
local_gb: 10
@@ -34,7 +35,7 @@
name: iqn.2017-05.org.openstack.${linux:network:hostname}-n0-vc0
volume_type: iqn
- name: ${linux:network:hostname}-n1
- driver: pxe_ipmitool
+ driver: ${_param:openstack_baremetal_simulator_node_driver}
microversion: ${_param:openstack_baremetal_simulator_api_microversion}
properties:
local_gb: 10
@@ -62,7 +63,7 @@
name: iqn.2017-05.org.openstack.${linux:network:hostname}-n1-vc0
volume_type: iqn
- name: ${linux:network:hostname}-n2
- driver: pxe_ipmitool
+ driver: ${_param:openstack_baremetal_simulator_node_driver}
microversion: ${_param:openstack_baremetal_simulator_api_microversion}
properties:
local_gb: 10
diff --git a/metadata/service/nodes_neutron.yml b/metadata/service/nodes_neutron.yml
index b2f55e9..066ac8e 100644
--- a/metadata/service/nodes_neutron.yml
+++ b/metadata/service/nodes_neutron.yml
@@ -4,13 +4,14 @@
_param:
openstack_baremetal_simulator_mac_vendor: "aa:bb:cc"
openstack_baremetal_simulator_api_microversion: '1.33'
+ openstack_baremetal_simulator_node_driver: 'pxe_ipmitool'
ironic:
client:
enabled: true
nodes:
admin_identity:
- name: ${linux:network:hostname}-n0
- driver: pxe_ipmitool
+ driver: ${_param:openstack_baremetal_simulator_node_driver}
properties:
local_gb: 10
cpus: 2
@@ -45,7 +46,7 @@
name: iqn.2017-05.org.openstack.${linux:network:hostname}-n0-vc0
volume_type: iqn
- name: ${linux:network:hostname}-n1
- driver: pxe_ipmitool
+ driver: ${_param:openstack_baremetal_simulator_node_driver}
properties:
local_gb: 10
cpus: 2
@@ -79,7 +80,7 @@
name: iqn.2017-05.org.openstack.${linux:network:hostname}-n1-vc0
volume_type: iqn
- name: ${linux:network:hostname}-n2
- driver: pxe_ipmitool
+ driver: ${_param:openstack_baremetal_simulator_node_driver}
properties:
local_gb: 10
cpus: 2