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
| Field | Type | Description | |||
|---|---|---|---|---|---|
Name | String | "EthernetInterfaceCollection" | |||
Members | Array | Items: A reference link to an element of Ethernet interface | |||
Status code
| HTTP Status Code | Error Message ID |
|---|---|
| 500 | InternalError |
Example
The following example JSON response is returned:
{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/EthernetInterfaces/ToManager"
}
],
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"@odata.id": "/redfish/v1/Managers/1/HostInterfaces/1/HostEthernetInterfaces",
"@odata.etag": "\"277e05446a7928a3f63\"",
"Name": "EthernetInterfaceCollection",
"Members@odata.count": 1
}
Give documentation feedback