Skip to content

Commit db92ee5

Browse files
committed
Use bmhLabelSelector in DT bmo01
Select a particular BMH for a node using `bmhLabelSelector`, validate 1-to-1 mapping. jira: OSPRH-10282
1 parent 84c84d0 commit db92ee5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

examples/dt/bmo01/dataplane/baremetalhosts/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ data:
1414
labels:
1515
app: openstack
1616
nodeset: leaf0
17+
nodeName: leaf0-0
1718
bmc:
1819
address: redfish-virtualmedia+http://sushy.utility:8000/redfish/v1/Systems/df2bf92f-3e2c-47e1-b1fa-0d2e06bd1b1d
1920
bootMACAddress: 52:54:04:15:a8:d9
@@ -44,6 +45,7 @@ data:
4445
labels:
4546
app: openstack
4647
nodeset: leaf0
48+
nodeName: leaf0-1
4749
bmc:
4850
address: redfish-virtualmedia+http://sushy.utility:8000/redfish/v1/Systems/455a0036-11f9-4417-a150-9ee858cd7b3d
4951
bootMACAddress: 52:54:05:59:03:e9
@@ -74,6 +76,7 @@ data:
7476
labels:
7577
app: openstack
7678
nodeset: leaf1
79+
nodeName: leaf1-0
7780
bmc:
7881
address: redfish-virtualmedia+http://sushy.utility:8000/redfish/v1/Systems/adbcfb62-afe9-488d-8e67-c3fd711e46e8
7982
bootMACAddress: 52:54:06:49:2a:d2
@@ -104,6 +107,7 @@ data:
104107
labels:
105108
app: openstack
106109
nodeset: leaf1
110+
nodeName: leaf1-1
107111
bmc:
108112
address: redfish-virtualmedia+http://sushy.utility:8000/redfish/v1/Systems/f5da12a3-b71d-4b81-9805-ebd5a2cd7bdf
109113
bootMACAddress: 52:54:07:5f:0c:f4

examples/dt/bmo01/dataplane/nodesets/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ data:
102102
address: 192.168.122.1
103103
nodes:
104104
edpm-compute-0-0:
105+
bmhLabelSelector:
106+
nodeName: leaf0-0
105107
networkData:
106108
name: edpm-compute-0-0-network-data
107109
namespace: openstack
@@ -120,6 +122,8 @@ data:
120122
- name: tenant
121123
subnetName: subnet2
122124
edpm-compute-0-1:
125+
bmhLabelSelector:
126+
nodeName: leaf0-1
123127
networkData:
124128
name: edpm-compute-0-1-network-data
125129
namespace: openstack
@@ -198,6 +202,8 @@ data:
198202
address: 192.168.122.1
199203
nodes:
200204
edpm-compute-1-0:
205+
bmhLabelSelector:
206+
nodeName: leaf1-0
201207
networkData:
202208
name: edpm-compute-1-0-network-data
203209
namespace: openstack
@@ -216,6 +222,8 @@ data:
216222
- name: tenant
217223
subnetName: subnet3
218224
edpm-compute-1-1:
225+
bmhLabelSelector:
226+
nodeName: leaf1-1
219227
networkData:
220228
name: edpm-compute-1-1-network-data
221229
namespace: openstack

0 commit comments

Comments
 (0)