From 38e0b33304565c788d946321b7e72c4d24d31483 Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Wed, 27 Sep 2017 14:12:06 +0530 Subject: Add Read and Write failures to common device error yaml This commit creates Common device error yaml defining Read and Write failures, that can be used by any application getting any read / write failures doing device operation Change-Id: I75c07ae2a2f8622065cb8522af534a71487bced9 Signed-off-by: Vishwanatha Subbanna --- xyz/openbmc_project/Common/Device.errors.yaml | 7 +++++++ xyz/openbmc_project/Common/Device.metadata.yaml | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 xyz/openbmc_project/Common/Device.errors.yaml create mode 100644 xyz/openbmc_project/Common/Device.metadata.yaml diff --git a/xyz/openbmc_project/Common/Device.errors.yaml b/xyz/openbmc_project/Common/Device.errors.yaml new file mode 100644 index 0000000..429762d --- /dev/null +++ b/xyz/openbmc_project/Common/Device.errors.yaml @@ -0,0 +1,7 @@ +# xyz.openbmc_project.Common.Device.ReadFailure +- name: ReadFailure + description: Failed to read from the device. + +# xyz.openbmc_project.Common.Device.WriteFailure +- name: WriteFailure + description: Failed to write to device. diff --git a/xyz/openbmc_project/Common/Device.metadata.yaml b/xyz/openbmc_project/Common/Device.metadata.yaml new file mode 100644 index 0000000..e8a95b1 --- /dev/null +++ b/xyz/openbmc_project/Common/Device.metadata.yaml @@ -0,0 +1,7 @@ +- name: ReadFailure + inherits: + - xyz.openbmc_project.Common.Callout.Device + +- name: WriteFailure + inherits: + - xyz.openbmc_project.Common.Callout.Device -- cgit v1.2.1