Skip to main content

GET – Network Port Collection

Dependence

  1. It displays the collection of Network Port resource instances available in the system.

  2. These resources are populated by Host Interface, and Extra AMI BIOS Support is needed.

Request

GET https://{{ip}}/redfish/v1/Chassis/Self/NetworkAdapters/{{NetwrokAdapter_instance}}/NetworkPorts
Content-Type: application/json

Response

Please refer to Collection Properties for the JSON response property.

Response example

{
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_0_7.Message",
"Message": "The BIOS Inventory data was partially populated due to CONf space limitation
or due to timeout between BIOS, BMC communication",
"MessageId": "Ami.1.0.InventoryDataIncomplete",
"Resolution": "Clean up Redfish/BMC data",
"Severity": "Critical"
}
],
"@odata.context": "/redfish/v1/$metadata#NetworkPortCollection.NetworkPortCollection",
"@odata.etag": "\"1619160747\"",
"@odata.id": "/redfish/v1/Chassis/Self/NetworkAdapters/DevType7_NIC0/NetworkPorts",
"@odata.type": "#NetworkPortCollection.NetworkPortCollection",
"Description": "The Collection Network Ports",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/Self/NetworkAdapters/DevType7_NIC0/NetworkPorts/
DevType7_SlotA_Instance0_PORT0"
}
],
"Members@odata.count": 1,
"Name": "NetworkPort Collection"
}