diff options
author | Jayashankar Padath <jayashankar.padath@in.ibm.com> | 2019-03-27 12:49:37 +0530 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-11 17:52:04 +0000 |
commit | 633d8c7c44ea35deaf1b06d6b53bdfa49d86d04b (patch) | |
tree | d8cdd4ffcf32b40828d47dd824704b8d069c3d5f /xyz/openbmc_project/Software/ApplyTime.interface.yaml | |
parent | 393530883ad5b93e90af0b669a95bf97e5c4d058 (diff) | |
download | phosphor-dbus-interfaces-633d8c7c44ea35deaf1b06d6b53bdfa49d86d04b.tar.gz phosphor-dbus-interfaces-633d8c7c44ea35deaf1b06d6b53bdfa49d86d04b.zip |
Redfish Code Update : New property for ApplyTime
Defining a new property which can control when to apply the
newly uploaded software image. This maps to the ApplyTime property defined
in the UpdateService redfish schema:
http://redfish.dmtf.org/schemas/v1/UpdateService.v1_4_0.json
"ApplyTime": {
"enum": [
"Immediate",
"OnReset",
"AtMaintenanceWindowStart",
"InMaintenanceWindowOnReset"
],
As of now the values "Immediate" and "OnReset" are supported and the value
can be supplied through HttpPushUriApplyTime object.
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: I43350f028f90575b0f88d5e5ddc4004ae96f5556
Diffstat (limited to 'xyz/openbmc_project/Software/ApplyTime.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/Software/ApplyTime.interface.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Software/ApplyTime.interface.yaml b/xyz/openbmc_project/Software/ApplyTime.interface.yaml new file mode 100644 index 0000000..0fff06a --- /dev/null +++ b/xyz/openbmc_project/Software/ApplyTime.interface.yaml @@ -0,0 +1,22 @@ +description: > + To implement the apply time of a newly updated software image. + The apply time property is global to all firmware update packages + and the default value of the property is OnReset. +properties: + - name: RequestedApplyTime + type: enum[self.RequestedApplyTimes] + description: > + This property indicates when the software image update should be + applied. +enumerations: + - name: RequestedApplyTimes + description: > + The possible values of this property indicate when the newly + updated software image will be activated. + values: + - name: Immediate + description: > + Apply immediately. + - name: OnReset + description: > + Apply on a reset. |