diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-09-27 14:12:06 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-10-03 12:35:24 +0530 |
commit | 38e0b33304565c788d946321b7e72c4d24d31483 (patch) | |
tree | 1e6ac78583c713d43f20dbcbd74c50f4944db627 /xyz/openbmc_project/Common | |
parent | 73b90641813116e934d347e7f0bcb946b690ef3b (diff) | |
download | phosphor-dbus-interfaces-38e0b33304565c788d946321b7e72c4d24d31483.tar.gz phosphor-dbus-interfaces-38e0b33304565c788d946321b7e72c4d24d31483.zip |
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 <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Common')
-rw-r--r-- | xyz/openbmc_project/Common/Device.errors.yaml | 7 | ||||
-rw-r--r-- | xyz/openbmc_project/Common/Device.metadata.yaml | 7 |
2 files changed, 14 insertions, 0 deletions
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 |