GET – Collection of BMC ethernet interface properties
Use the GET method to retrieve properties in Ethernet interface or host interface collection resource for a BMC.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/EthernetInterfaces
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | EthernetInterfaceCollection | |||
Description | String | A collection of EthernetInterface resource instances. | |||
Members | Array | Items: A reference link of the elements of EthernetInterface. Item count: 1~N (depending in component) | |||
Members[N] | Link | Links to user role resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
"@odata.etag": "\"D822CA20\"",
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces",
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"Description": "A collection of EthernetInterface resource instances.",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/NIC"
},
{
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/ToHost"
}
],
"Members@odata.count": 2,
"Name": "EthernetInterfaceCollection"
}
Give documentation feedback