cm9999

updated

8 years ago

C

cm9999

1 Rookie

11 Posts

0

11769

July 18th, 2018 03:00

Using the redfish api to change bios settings

Can the redfish api be used to change a bios setting on a poweredge server (C6320) ?

I can get it to report the settings but can't change anything & all the dell api info I can find is quite vague about using the patch command to make a change.

It's very easily done on an HP e.g. using the python requests module.

 

requests.patch(https://iLO_or_IDRAC_address/redfish/v1/Systems/1/Bios/Settings,json={"AdminName":"test"},verify=False,auth=('USERID','PASSWORD'))


but a similar approach on Dells using "redfish/v1/Systems/System.Embedded.1/Bios" & a Dell specific key:value pair doesn't work.

I'm using the latest iDrac/lifecycle controller firmware etc.

Can we "PATCH" a bios setting directly or do we need to create a job to do it ?

Thanks.