Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ILOM 4.0x RESTful API url to update firmware

User_ZGHABNov 6 2018 — edited Nov 8 2018

Trying to identify the right rest api uri to execute remote upload and update of ILOM firmware .

After accessing the swagger.json documentation of the api I cant seen to find the uri for the same .

Closet I came was to the following url .....

PATCH/SP/firmware

Update properties in the SP firmware object. User role required for set = a.

Parameters

NameDescription
Patch Options

(body)

/SP patch options

{
load_uristring

Firmware load. URI syntax and examples: ftp://user[:password]@host//absolute-file-path, ftp://user[:password]@host/relative-file-path, sftp://user[:password]@host/absolute-file-path, ex:sftp://jane@192.0.2.254/tmp/file.xxx. Possible values = tftp, ftp, sftp, scp, http, https. User role required for set = a.

}

while executing the uri is successful the firmware doesn't get updared .

I have tested the uri used in the rest call ,  using the ilom cli which worked fine  , after answering  following questions ... in json form of

{"questions": [

  {

   "text": "Preserve existing SP configuration",

   "value": "true"

  },

  {

   "text": "Preserve existing BIOS configuration",

   "value": "true"

  },

  {

   "text": "Delay BIOS upgrade until next server poweroff or reset",

   "value": "true"

  }

  ]}

The current firmware version is :

"Target": "/rest/v1/System/firmware",

"system_fw_version": "4.0.0.24"

Any help is very much appreciated

Comments