Skip to content

[Feature]: Work with air cooled Grace-Grace ARM CPU nodes #3

@asalois

Description

@asalois

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions