summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-08-01 10:14:08 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-03 01:53:50 +0000
commit43c037ba6bc848e9e95d74e425e5058e86c28b82 (patch)
tree0cec6f572f95398a5d043296a7d72cc8a7d4236c
parent3e657909cb6ff24bbd109813d573033f96da812a (diff)
downloadphosphor-dbus-interfaces-43c037ba6bc848e9e95d74e425e5058e86c28b82.zip
phosphor-dbus-interfaces-43c037ba6bc848e9e95d74e425e5058e86c28b82.tar.gz
Add inventory errors
Added NotPresent and Nonfunctional inventory errors. An example of this being used is to log an error when a power supply is removed in Witherspoon. In Witherspoon, both power supplies are needed to power all 6 GPUs. Change-Id: I086c2de8e0c44c941c527c44af022c8c440d70f4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--xyz/openbmc_project/Inventory.errors.yaml4
-rw-r--r--xyz/openbmc_project/Inventory.metadata.yaml6
2 files changed, 10 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Inventory.errors.yaml b/xyz/openbmc_project/Inventory.errors.yaml
new file mode 100644
index 0000000..45ce7c6
--- /dev/null
+++ b/xyz/openbmc_project/Inventory.errors.yaml
@@ -0,0 +1,4 @@
+- name: NotPresent
+ description: The inventory is not present.
+- name: Nonfunctional
+ description: The inventory is nonfunctional.
diff --git a/xyz/openbmc_project/Inventory.metadata.yaml b/xyz/openbmc_project/Inventory.metadata.yaml
new file mode 100644
index 0000000..1e3eb35
--- /dev/null
+++ b/xyz/openbmc_project/Inventory.metadata.yaml
@@ -0,0 +1,6 @@
+- name: NotPresent
+ inherits:
+ - xyz.openbmc_project.Common.Callout.Inventory
+- name: Nonfunctional
+ inherits:
+ - xyz.openbmc_project.Common.Callout.Inventory
OpenPOWER on IntegriCloud