From 78ddb7af1ca8eb13dbfbb4913eb5139e1f4ac445 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Tue, 21 Mar 2017 13:07:29 -0500 Subject: Add Sensor interface device callout Callout the device associated to a Sensor interface when a read failure occurs Change-Id: If4953d4f1dc88a9a78ad9fab5c0fdd201b98ec91 Signed-off-by: Matthew Barth --- xyz/openbmc_project/Sensor/Device.errors.yaml | 3 +++ xyz/openbmc_project/Sensor/Device.metadata.yaml | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 xyz/openbmc_project/Sensor/Device.errors.yaml create mode 100644 xyz/openbmc_project/Sensor/Device.metadata.yaml (limited to 'xyz/openbmc_project/Sensor') diff --git a/xyz/openbmc_project/Sensor/Device.errors.yaml b/xyz/openbmc_project/Sensor/Device.errors.yaml new file mode 100644 index 0000000..c00e077 --- /dev/null +++ b/xyz/openbmc_project/Sensor/Device.errors.yaml @@ -0,0 +1,3 @@ +# xyz.openbmc_project.Sensor.Device.ReadFailure +- name: ReadFailure + description: Failed to read from device. diff --git a/xyz/openbmc_project/Sensor/Device.metadata.yaml b/xyz/openbmc_project/Sensor/Device.metadata.yaml new file mode 100644 index 0000000..ff8fe53 --- /dev/null +++ b/xyz/openbmc_project/Sensor/Device.metadata.yaml @@ -0,0 +1,3 @@ +- name: ReadFailure + inherits: + - xyz.openbmc_project.Common.Callout.Device -- cgit v1.2.1