Firmware update a Tray
Changed onUpdate firmware on a Tray identified by its component ID or component MAC address.
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/tray/{id}/firmware
- AuthHTTP bearer
Request body
Example request
{
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"version": "{\"ProductName\":\"ExampleRackSystem\",\"Milestones\":[{\"Name\":\"example-release\",\"State\":\"Onboarded\",\"BoardSKUs\":[{\"Name\":\"Example-Switch-Tray\",\"Type\":\"Switch Tray\",\"Components\":{\"Software\":[],\"Firmware\":[{\"Component\":\"BMC+CPLD\",\"Version\":\"1.2.3\",\"Type\":\"Prod\",\"FileNames\":[\"switch-firmware.fwpkg\"],\"Locations\":[{\"Location\":\"/firmware/example/switch-firmware.fwpkg\",\"LocationType\":\"FILE\",\"PackageName\":\"\",\"Type\":\"Firmware\",\"FileName\":\"switch-firmware.fwpkg\"}]}]}}]}]}"
}Response
OK
Example response
{
"taskIds": [
"550e8400-e29b-41d4-a716-446655440000"
]
}Changes
- info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status - info
removed the
nicoenum value from theresponse property for the response status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info