Jacob Anders 57e560f76a Add support for BIOS update emulation
This change adds UpdateService resource and SimpleUpdate action to
sushy-tools. The goal behind this addition is enabling support for
automated testing of firmware update functionality in virtualized
environments. Note: no actual firmware update is performed with these
API calls, the only result is incrementing the BiosVersion value stored
in instance metadata.

Change-Id: I22d9b7614a5a7243e08d40392a0a49a31ee00034
2024-07-12 21:24:32 +10:00

28 lines
920 B
JSON

{
"@odata.context": "/redfish/v1/$metadata#UpdateService.UpdateService",
"@odata.id": "/redfish/v1/UpdateService",
"@odata.type": "#UpdateService.v1_11_0.UpdateService",
"Actions": {
"#UpdateService.SimpleUpdate": {
"TransferProtocol@Redfish.AllowableValues": [
"HTTP",
"HTTPS"
],
"target": "/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate"
}
},
"Description": "Represents the properties for the Update Service",
"FirmwareInventory": {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory"
},
"HttpPushUri": "/redfish/v1/UpdateService/FirmwareInventory",
"Id": "UpdateService",
"MaxImageSizeBytes": null,
"Name": "Update Service",
"ServiceEnabled": true,
"SoftwareInventory": {
"@odata.id": "/redfish/v1/UpdateService/SoftwareInventory"
}
}