summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2018-10-31 15:11:57 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-03 14:10:40 +0000
commita1acf5c6397356ae0f45ba5b9d78638c00b62f3d (patch)
tree0aff750cedf117afca5e31b8673a2f6ae3e5dc93
parenta4c8e6d6974fcdaf713b719757cde323e0e30093 (diff)
downloadphosphor-dbus-interfaces-a1acf5c6397356ae0f45ba5b9d78638c00b62f3d.zip
phosphor-dbus-interfaces-a1acf5c6397356ae0f45ba5b9d78638c00b62f3d.tar.gz
Add fan redundancy interface
Add object to describe whether a group of fans is in a redundant state. BMCs typically monitor fan states and allow a certain number of fans to be in an error condition before taking action. This object can be monitored to determine when to take actions such as boosting fans. Tested-by: Ran CI Change-Id: Id91bfdfcb7e49b933a0d6f16c63fd806e009d62f Signed-off-by: James Feist <james.feist@linux.intel.com>
-rw-r--r--xyz/openbmc_project/Control/FanRedundancy.interface.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/FanRedundancy.interface.yaml b/xyz/openbmc_project/Control/FanRedundancy.interface.yaml
new file mode 100644
index 0000000..50ae5bc
--- /dev/null
+++ b/xyz/openbmc_project/Control/FanRedundancy.interface.yaml
@@ -0,0 +1,37 @@
+description: >
+ An interface to set whether fans are redundant.
+properties:
+ - name: AllowedFailures
+ type: byte
+ flags:
+ - const
+ description: >
+ Number of fans in error state before redundancy is lost.
+ - name: Collection
+ type: array[path]
+ flags:
+ - const
+ description: >
+ The group of fans tracked by this redundancy object.
+ - name: Status
+ type: enum[self.State]
+ flags:
+ - const
+ description: >
+ The current redundancy status.
+
+enumerations:
+ - name: State
+ description: >
+ Possible redundancy states.
+ values:
+ - name: Full
+ description: >
+ System is in a fully redundant state.
+ - name: Degraded
+ description: >
+ Redundancy is in a degraded state.
+ - name: Failed
+ description: >
+ System has lost redundancy.
+
OpenPOWER on IntegriCloud