Retrieving Bios Firmware Update Status; Updating Cisco Imc Firmware; Retrieving Cisco Imc Firmware Update Status - Cisco UCS C Series Programmer's Manual

Rest api
Hide thumbs Also See for UCS C Series:
Table of Contents

Advertisement

Cisco IMC REST API Examples
curl-XPOST https://10.10.10.10/redfish/v1/Managers/CIMC/Actions/
Oem.BiosFwUpdate -d '{"RemoteHostname":"10.10.10.10",
"RemotePath":"krigovin/FW/C220M4-BIOS-3-0-0-6.cap", "Protocol":"TFTP"}' --insecure -u
admin:password
Response:
Note: curl with verbose option enabled receives an http
response '202 Accepted' for the above query.

Retrieving BIOS Firmware Update Status

Request:
curl -GET https://10.10.10.10/redfish/v1/TaskService/Tasks/BiosFwUpdate --insecure -u
admin:password
Response:
{
"@odata.id":"/redfish/v1/TaskService/Tasks/BiosFwUpdate",
"Name":"Task BiosFwUpdate",
"@odata.context":"/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"TaskStatus":"OK",
"@odata.type":"#Task.1.0.0",
"Id":"BiosFwUpdate",
"TaskState":"Running",
"Oem":{
"FWVersion":"C240M4.3.0.0.8.0925161827",
"UpdateStatus":"Image Download (5 %), OK"
},
"Description":"BIOS firmware version"
}

Updating Cisco IMC Firmware

Request:
curl-XPOST https://10.10.10.10/redfish/v1/Managers/CIMC/Actions/
Oem.BmcFwUpdate -d '{"RemoteHostname":"10.10.10.10",
"RemotePath":"mike/FW/upd-pkg-c220-m4-cimc.full.3.0.0.275.bin", "Protocol":"TFTP"}' --insecure
-u
admin:password
Response:
Note: curl with verbose option enabled receives an http
response '202 Accepted' for the above query.

Retrieving Cisco IMC Firmware Update Status

Request:
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents