-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Describe the feature
You will need to change the url to get the nodes MAC address. Use something like below. In our case CPU_0 and CPU_1 gives the same MAC address.
curl -sk -u $BMC_USER:$BMC_PASSWORD https://10.1.1.1/redfish/v1/Chassis/CPU_1/NetworkAdapters/1/NetworkDeviceFunctions/1{
"@odata.context": "/redfish/v1/$metadata#NetworkDeviceFunction.NetworkDeviceFunction",
"@odata.id": "/redfish/v1/Chassis/CPU_1/NetworkAdapters/1/NetworkDeviceFunctions/1",
"@odata.type": "#NetworkDeviceFunction.v1_7_0.NetworkDeviceFunction",
"Description": "The NetworkDeviceFunction schema represents a logical interface that a network adapter exposes.",
"Ethernet": {
"MACAddress": "55:44:33:22:11:00",
"PermanentMACAddress": "55:44:33:22:11:00"
},
"Id": "1",
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/CPU_1/NetworkAdapters/1/NetworkDeviceFunctions/1/Metrics"
},
"Name": "1",
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
}Why do you want this feature?
I would like to generate a nodes.yaml for the Grace-Grace nodes also.
Alternatives you've considered
Could run curl against on endpoints but that is tedious and error prone.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels