Skip to main content

GET – Collection of ethernet interface

Use the GET method to retrieve properties in HostEthernetInterfaces for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Managers/1/HostInterfaces/1/HostEthernetInterfaces

Request body

None

Response body

FieldTypeDescription

Name

String

EthernetInterfaceCollection

Members

Array

Items: A reference link to an element of Ethernet interface

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
"@odata.etag": "\"723ADCB5\"",
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1/HostEthernetInterfaces",
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"Description": "A collection of EthernetInterface resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/ToManager"
}
],
"Members@odata.count": 1,
"Name": "EthernetInterfaceCollection"
}