blob: 4191c1f78ce777d477222df5ed14066cc4525b9c [file] [log] [blame]
Jagpal Singh Gill4206b1a2023-08-05 11:23:59 -07001description: >
2 Interface for performing code update for various firwmare entities.
3
4methods:
5 - name: StartUpdate
6 description: >
7 Start a firware update to be performed asynchronously.
8 parameters:
9 - name: Image
10 type: unixfd
11 description: >
12 This property indicates the file descriptor of the firmware
13 image.
14 - name: ApplyTime
Jagpal Singh Gillf0d04c92024-06-02 16:34:13 -070015 type: enum[xyz.openbmc_project.Software.ApplyTime.RequestedApplyTimes]
Jagpal Singh Gill4206b1a2023-08-05 11:23:59 -070016 description: >
17 This property indicates when the software image update should be
18 applied.
19 returns:
20 - name: ObjectPath
21 type: object_path
22 description: >
23 The object path where the image interfaces will be hosted, for
24 example, required interfaces such as ActivationStatus,
25 ActivationProgress and optional interfaces such as Version.
26 errors:
27 - xyz.openbmc_project.Software.Update.Error.Incompatible
28 - xyz.openbmc_project.Software.Update.Error.InvalidSignature
29 - xyz.openbmc_project.Software.Update.Error.InvalidImage
30 - xyz.openbmc_project.Common.Error.Unavailable
31
32properties:
33 - name: AllowedApplyTimes
Jagpal Singh Gillf0d04c92024-06-02 16:34:13 -070034 type: set[enum[xyz.openbmc_project.Software.ApplyTime.RequestedApplyTimes]]
Jagpal Singh Gill4206b1a2023-08-05 11:23:59 -070035 description: >
36 This property indicates the apply times allowed for this device.
37 flags:
38 - readonly