Tray
Firmware update Trays
Changed onUpdate firmware on Trays with optional filters. If no filter is specified, targets all trays in the Site.
Filter constraints:
- rackId and rackName are mutually exclusive
- rackId/rackName cannot be combined with ids (rack-level vs component-level targeting)
Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
patch/v2/org/{org}/nico/tray/firmware
Request
- Base URLhttps://nico-rest-api.nico.svc.cluster.local
- URLhttps://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/tray/firmware
- AuthHTTP bearer
Request body
Example request
{
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"filter": {
"type": "NVSwitch"
},
"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\"}]}]}}]}]}",
"targets": [
"bmc"
]
}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
- 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