Skip to content

How to get Mac Address of an network adapter  #368

@jasmeer

Description

@jasmeer

Hi
Usually MAC address is available in NetworkDeviceFunction object. However, in my system NetworkDeviceFunction collection has no members:

curl -k https:/redfish/v1/Chassis/1/NetworkAdapters/slot-1/NetworkDeviceFunctions
{
"Name": "NetworkDeviceFunctionCollection",
"Description": "A collection of NetworkDeviceFunction resource instances.",
"@odata.etag": ""33e203339f0e2428c37"",
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapters/slot-1/NetworkDeviceFunctions",
"Members@odata.count": 0,
"Members": [],
"@odata.type": "#NetworkDeviceFunctionCollection.NetworkDeviceFunctionCollection",
"@odata.context": "/redfish/v1/$metadata#NetworkDeviceFunctionCollection.NetworkDeviceFunctionCollection"
}

Why is it so? Is there any other way to find the Mac address set to a network port?

Thanks
Jasmeer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions