Post by jnunez on Aug 17, 2023 16:07:53 GMT
Hello all,
I'm pretty green to the Redfish protocol and I'm trying to dump the values from one of our servers, like this:
That generates a JSON document with the values (showing only fragment here):
My problem is that I don't know what other REST API call I need to make to translate keys like 'Genoa833' to something that makes sense to humans. There is a chance this can be provided by Redfish?
I used a higher level tool, DMTF Redfish-Tacklebox, and when I query a different server from a different vendor I do get what I want:
But on the original $server from the example above I get a warning instead and the unmapped values (Complains about a missing SettingsObject):
Any help will be greatly appreciated.
Thanks!
I'm pretty green to the Redfish protocol and I'm trying to dump the values from one of our servers, like this:
curl --insecure --user $admin:$pass https://$server.example.com/redfish/v1/Systems/Self/Bios?detail=True|jq '.'
That generates a JSON document with the values (showing only fragment here):
"Genoa833": "Disabled",
"IPMI000": "Enabled",
"IPMI001": "No",
"IPMI002": "Do Nothing",
"IPMI100": "Enabled",
"IPMI101": "6 minutes",
"IPMI102": "Do Nothing",
"IPMI103": "Disabled",
"IPMI104": "10 minutes",
"IPMI105": "Reset",
"IPMI601": "Enable",
"IPMI602": "Unspecified",
"MAPIDS": "SETUP001:0,SETUP002:1,TCG001:1,TCG023:1,TCG022:1,TCG004:1,TCG007:1,TCG002:1,TCG006:1,TCG016:1,TCG017:1,TCG018:1,TCG019:1,TCG020:1,TCG021:1,TCG008:1,TCG010:1,TCG011:1,TCG012:1,TCG009:1,TCG013:1,TCG014:1,REDF005:1,REDF006:1,REDF001:1,REDF004:1,TER001:1,TER002:1,TER010:1,TER06B:1,TER011:1,TER020:1,TER05C:1,TER02F:1,TER03E:1,TER04D:1,TER0A8:1,TER07A:1,TER0A7:1,TER012:1,TER021:1,TER030:1,TER03F:1,TER04E:1,TER05D:1,TER07B:1,TER089:1,TER06C:1,TER098:1
My problem is that I don't know what other REST API call I need to make to translate keys like 'Genoa833' to something that makes sense to humans. There is a chance this can be provided by Redfish?
I used a higher level tool, DMTF Redfish-Tacklebox, and when I query a different server from a different vendor I do get what I want:
rf_bios_settings.py --user $admin--password $pass --rhost https://$niceserver.example.com/
BIOS Settings:
Attribute Name | Current Setting | Future Setting
AcPwrRcvry | Last | Last
AcPwrRcvryDelay | Immediate | Immediate
AcPwrRcvryUserDelay | 60 | 60
But on the original $server from the example above I get a warning instead and the unmapped values (Complains about a missing SettingsObject):
rf_bios_settings.py --workaround --user $admin --password $pass --rhost https://$server.example.com/
/home/STRIKETECH/jnunez/virtualenv/redfish/lib64/python3.7/site-packages/redfish_utilities/systems.py:610: UserWarning: System 'Self' BIOS resource contains the settings term, but no 'SettingsObject'. Contact your vendor. Attempting workarounds...
warnings.warn( "System '{}' BIOS resource contains the settings term, but no 'SettingsObject'. Contact your vendor. Attempting workarounds...".format( system_id ) )
/home/STRIKETECH/jnunez/virtualenv/redfish/lib64/python3.7/site-packages/redfish_utilities/systems.py:551: UserWarning: System 'None' BIOS resource contains the settings term, but no 'SettingsObject'. Contact your vendor. Workarounds exhausted for reading the settings data and falling back on using the active attributes.
warnings.warn( "System '{}' BIOS resource contains the settings term, but no 'SettingsObject'. Contact your vendor. Workarounds exhausted for reading the settings data and falling back on using the active attributes.".format( system_id ) )
BIOS Settings:
Attribute Name | Current Setting | Future Setting
FBO001 | UEFI | UEFI
FBO101 | Hard Disk | Hard Disk
FBO102 | CD/DVD | CD/DVD
FBO103 | USB Device | USB Device
FBO104 | Network | Network
Any help will be greatly appreciated.
Thanks!