ProLiant Servers (ML,DL,SL)
1826432 Members
4038 Online
109692 Solutions
New Discussion

Re: Interpreting values in boot order array returned from redfish call

 
SOLVED
Go to solution
bradawk1
Trusted Contributor

Interpreting values in boot order array returned from redfish call

I can retrieve the boot order for a given server with:

curl --insecure --silent --header "X-Auth-Token: ${iLOAuth}" --request GET ${iLOSSO}/redfish/v1/Systems/1/bios/oem/hpe/boot | jq -r '.PersistentBootConfigOrder'

but the values returned are not always intelligible.  Like: Unknown.Unknown.200.1 HD.Slot.12.2 is a little easier.  On that server in slot 12 is a Smart Array E2081-a.  Not sure what the .2 is?  Some other servers with the same storage array in the same slot have HD.Slot.12.3.

Is there another call I can make to get further information on the values returned?

2 REPLIES 2
bradawk1
Trusted Contributor
Solution

Re: Interpreting values in boot order array returned from redfish call

I figured it out. 

BOOTSTRING='Unknown.Unknown.200.1'
curl --insecure --silent --header "X-Auth-Token: ${iLOAuth}" --request GET ${iLOSSO}/redfish/v1/Systems/1/bios/oem/hpe/boot | jq -r '.BootSources[] | select(.StructuredBootString=="'${BOOTSTRING}'")'
Sunitha_Mod
Honored Contributor

Re: Interpreting values in boot order array returned from redfish call

Hello @bradawk1,

That's excellent! 

We are extremely glad to know you were able to find the solution and we appreciate you for keeping us updated.