From 43c037ba6bc848e9e95d74e425e5058e86c28b82 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Tue, 1 Aug 2017 10:14:08 -0500 Subject: 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 --- xyz/openbmc_project/Inventory.errors.yaml | 4 ++++ xyz/openbmc_project/Inventory.metadata.yaml | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 xyz/openbmc_project/Inventory.errors.yaml create mode 100644 xyz/openbmc_project/Inventory.metadata.yaml 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 -- cgit v1.2.1