From 5af83f1528f106c8f58966aee0a0a7b8eacd5dd7 Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Fri, 17 Aug 2018 13:04:41 -0500 Subject: 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 --- xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xyz/openbmc_project') 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. -- cgit v1.2.1