diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-08-17 13:04:41 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-31 00:49:54 +0000 |
commit | 5af83f1528f106c8f58966aee0a0a7b8eacd5dd7 (patch) | |
tree | b4c47abc2b3a3150c415e28e6cc305b990fcfb26 /xyz/openbmc_project | |
parent | cbe88430ccdcf9f22c2b8dc24fad3df40ce389c4 (diff) | |
download | phosphor-dbus-interfaces-5af83f1528f106c8f58966aee0a0a7b8eacd5dd7.tar.gz phosphor-dbus-interfaces-5af83f1528f106c8f58966aee0a0a7b8eacd5dd7.zip |
Control: Make PowerSupplyRedundancy const (read-only)
This property is a policy that dictates how the system would behave
if a power supply goes missing, and it's not intended to be modified
by the user. Set it to read-only.
Tested: Attempting to change the value via REST fails with
"org.freedesktop.DBus.Error.PropertyReadOnly".
Change-Id: I423a49bbf30eb150e38c8da52b913c3097384897
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r-- | xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml b/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml index b99d51b..bf36a77 100644 --- a/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml +++ b/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml @@ -3,5 +3,7 @@ description: > properties: - name: PowerSupplyRedundancyEnabled type: boolean + flags: + - const description: > When true, the power supplies are redundant. |