diff options
author | Jayashankar Padath <jayashankar.padath@in.ibm.com> | 2019-04-02 20:50:35 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-23 16:01:56 +0300 |
commit | 348af1a90b8b2f01788436daa4f02ce474b0cd31 (patch) | |
tree | 881795161ac130504a54f20612506bd7e2ab894c /meta-phosphor | |
parent | c6cd74a74c0643d1c7f8c9ed8c16ee018d3a7942 (diff) | |
download | openbmc-348af1a90b8b2f01788436daa4f02ce474b0cd31.tar.xz |
Redfish Code Update: Default value for ApplyTime
Setting a default value for ApplyTime property which can control when
to apply the newly uploaded software image. The ApplyTime property is
defined in the UpdateService redfish schema. This property will be hosted
from phosphor-settingsd with a default value as OnReset.
Tested: Verified that the property is getting created with the expected
default value as OnReset.
busctl get-property xyz.openbmc_project.Settings
/xyz/openbmc_project/software/apply_time
xyz.openbmc_project.Software.ApplyTime RequestedApplyTimes
"xyz.openbmc_project.Software.ApplyTime.RequestedApplyTimes.OnReset"
(From meta-phosphor rev: 634e8d0c70ad2c7732e13439fcbca569457919a5)
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: Iadb744fe4c1db39fb758758f47b64205be0110af
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml index 59af1a4f7..72946876d 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml @@ -127,3 +127,9 @@ Properties: Enabled: Default: 'false' + +/xyz/openbmc_project/software/apply_time: + - Interface: xyz.openbmc_project.Software.ApplyTime + Properties: + RequestedApplyTime: + Default: ApplyTime::RequestedApplyTimes::OnReset |