Add metadata to create volume connectors for nodes
Change-Id: I0f1021d94c5f8a3531fe5ba4302227332b04b504
Closes-bug: PROD-25368 (PROD:25368)
diff --git a/metadata/service/nodes_flat.yml b/metadata/service/nodes_flat.yml
index ef90931..80e88ed 100644
--- a/metadata/service/nodes_flat.yml
+++ b/metadata/service/nodes_flat.yml
@@ -26,6 +26,10 @@
ports:
- address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:00:00"
- address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:00:01"
+ volume_connectors:
+ vc0:
+ name: iqn.2017-05.org.openstack.${linux:network:hostname}-n0-vc0
+ volume_type: iqn
- name: ${linux:network:hostname}-n1
driver: pxe_ipmitool
microversion: '1.9'
@@ -48,6 +52,10 @@
fixed_ips:
- ip_address: 192.168.90.111
subnet_name: baremetal-subnet
+ volume_connectors:
+ vc0:
+ name: iqn.2017-05.org.openstack.${linux:network:hostname}-n1-vc0
+ volume_type: iqn
- name: ${linux:network:hostname}-n2
driver: pxe_ipmitool
microversion: '1.9'
@@ -65,3 +73,7 @@
deploy_kernel: http://${_param:single_baremetal_address}/${baremetal_simulator:deploy_kernel_file}
ports:
- address: "${_param:openstack_baremetal_simulator_mac_vendor}:dd:02:00"
+ volume_connectors:
+ vc0:
+ name: iqn.2017-05.org.openstack.${linux:network:hostname}-n2-vc0
+ volume_type: iqn
diff --git a/metadata/service/nodes_neutron.yml b/metadata/service/nodes_neutron.yml
index 0e26a09..5f5f1ab 100644
--- a/metadata/service/nodes_neutron.yml
+++ b/metadata/service/nodes_neutron.yml
@@ -37,6 +37,10 @@
switch_info: br-simulator
port_id: tap-bmt-n0i2
microversion: '1.19'
+ volume_connectors:
+ vc0:
+ name: iqn.2017-05.org.openstack.${linux:network:hostname}-n0-vc0
+ volume_type: iqn
- name: ${linux:network:hostname}-n1
driver: pxe_ipmitool
properties:
@@ -65,6 +69,10 @@
fixed_ips:
- ip_address: 192.168.90.111
subnet_name: baremetal-subnet
+ volume_connectors:
+ vc0:
+ name: iqn.2017-05.org.openstack.${linux:network:hostname}-n1-vc0
+ volume_type: iqn
- name: ${linux:network:hostname}-n2
driver: pxe_ipmitool
properties:
@@ -88,3 +96,7 @@
switch_info: br-simulator
port_id: tap-bmt-n2i1
microversion: '1.19'
+ volume_connectors:
+ vc0:
+ name: iqn.2017-05.org.openstack.${linux:network:hostname}-n2-vc0
+ volume_type: iqn