Allow for PowerSupplyRedundancy IPMI Scanning Enabled
Update the tests for PowerSupplyRedundancyEnabled.
- When checking the system attribute PowerSupplyRedundancyEnabled
via IPMI, the expected response is "00 00 02 00". Need to
also allow a response of "00 40 02 00", the 40 indicating that
scanning is enabled.
- In the REST test for PowerSupplyRedundancyEnabled
we should now use /xyz/openbmc_project/control instead of
/xyz/openbmc_project/sensors.
Resolves openbmc/openbmc-test-automation#1455
Change-Id: I554df579dae37e9f5a8e1135b0d9937f1639d46c
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/data/ipmi_raw_cmd_table.py b/data/ipmi_raw_cmd_table.py
index 1e216bd..2fc793e 100644
--- a/data/ipmi_raw_cmd_table.py
+++ b/data/ipmi_raw_cmd_table.py
@@ -27,6 +27,8 @@
"Byte position 3rd LSB e.g. 01 indicates disabled",
"00 00 02 00",
"Byte position 3rd LSB e.g. 02 indicates enabled",
+ "00 40 02 00",
+ "40 is scanning enabled and 02 indicates redundancy enabled",
],
'Enabled':
[