Step 3: Start the Firmware Installation and Poll the Status
Use a PATCH request to start the firmware update. To poll the status of the firmware update while the installation is in process, use a GET request.
Note:
Upon the completion of the firmware update process, the SP will automatically reset and become temporarily non-responsive.HTTP Request Format: Start Firmware Installation
PATCH /rest/v<version>/SP/firmware/update/1 HTTP/1.1
<Header Name>: <Value>
<Request body>
{
"start": true
}Where:
-
The
<Request body>specifies the JSON content. -
The
"start":trueinitiates the configuration and installation of the firmware update package.
Request Headers Required
The request header fields required to modify resources are as follows:
Content-Type, Authorization, and
Host.
For a description of these required header fields, see Common Request Header Fields.
HTTP Request Format: Poll Installation Status
GET /rest/v<version>/SP/firmware/update/1/status HTTP/1.1
<Header Name>: <Value>Request Headers Required
The request header fields required to retrieve resources are as follows:
Accept, Authorization, and
Host.
For a description of these required header fields, see Common Request Header Fields.
Response: Status Codes
-
Success: HTTP Status = 200 OK
-
Failure: HTTP Status = 4xx, 5xx
Response Body:
Note:
To identify the exact response body media type, refer to the Oracle ILOM Swagger Model (swagger.json) description. For more
details, see Discovering Management
Resources.
{
"Target":"/rest/v<version>/SP/firmware/update/1/status",
"state":"In Progress",
"result":"",
"component":"uboot",
"component_progress":"7 of 8"
}Related Information