Issue
Querying for WWPN of the installed FC HBA from RESTful Interface tool or using Curl commands will not retireve desired output.
Querying for WWPN of the installed FC HBA from RESTful Interface tool or using Curl commands will not retireve desired output.
ILO 4
All versions of ILO firmware
Any version of RESTful API Tool
ILO 4 Redfish includes BaseNetworkAdapter.1.1.0.
This do not have options to retrieve the information. But you can use the HpServerPciDevice.1.0.0 to retrieve the information of the devices installed in the PCI Slots.
Note: WWPN will not be retrieved for the FC HBAs.
Example:
BaseNetworkAdapter.1.1.0 – Retrieves the onboard NIC details.
HpServerPCISlot.1.0.0 – Lists the PCI slots status
HpServerPciDevice.1.0.0 – Lists the PCI devices installed in the slots.
Outputs Using Curl commands:
Curl https://<ILO IP>/redfish/v1/systems/1/networkadapters -L -i -s -k --insecure -u <ILO Username>:<ILO Password>
C:\Downloads\curl-7.84.0_4-win64-mingw\curl-7.84.0_4-win64-mingw\bin> Curl https://<ILO IP>/redfish/v1/systems/1/networkadapters -L -i -s -k --insecure -u <ILO Username>:<ILO Password>
HTTP/1.1 308 Moved Permanently
Content-Type: text/plain
Connection: close
Date: Thu, 07 Jul 2022 05:33:25 GMT
Location: https://<ILO IP>/redfish/v1/systems/1/networkadapters/
Content-Length: 0
HTTP/1.1 200 OK
Allow: GET, HEAD
Cache-Control: no-cache
Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval';
Content-length: 573
Content-type: application/json; charset=utf-8
Date: Thu, 07 Jul 2022 05:33:25 GMT
ETag: W/"41D6091C"
Link: </redfish/v1/SchemaStore/en/BaseNetworkAdapterCollection.json/>; rel=describedby
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
X_HP-CHRP-Service-Version: 1.0.3
{"@odata.context":"/redfish/v1/$metadata#Systems/Members/1/NetworkAdapters","@odata.id":"/redfish/v1/Systems/1/NetworkAdapters/","@odata.type":"#BaseNetworkAdapterCollection.BaseNetworkAdapterCollection","Description":"NetworkAdapters view","MemberType":"BaseNetworkAdapter.1","Members":[{"@odata.id":"/redfish/v1/Systems/1/NetworkAdapters/1/"}],Members@odata.count:1,"Name":"NetworkAdapters Collection","Total":1,"Type":"Collection.1.0.0","links":{"Member":[{"href":"/redfish/v1/Systems/1/NetworkAdapters/1/"}],"self":{"href":"/redfish/v1/Systems/1/NetworkAdapters/"}}}
This is by design. It is not a RESTful API Tool or ILO firmware bug.
The basenetworkadapter model of ILO 4 is 1.0 and has a specific set of data this provides.
https://techhub.hpe.com/eginfolib/servers/docs/HPRestfultool/iLo4/data_model_reference.html#BaseNetworkAdapter