summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-03-21 13:07:29 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-03-27 17:20:06 +0000
commit78ddb7af1ca8eb13dbfbb4913eb5139e1f4ac445 (patch)
tree35de8a63b227d2939f23765f48e963fa520db947 /xyz/openbmc_project
parentd6cbe800cd738a86d0fa28316b1db9db48282890 (diff)
downloadphosphor-dbus-interfaces-78ddb7af1ca8eb13dbfbb4913eb5139e1f4ac445.tar.gz
phosphor-dbus-interfaces-78ddb7af1ca8eb13dbfbb4913eb5139e1f4ac445.zip
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 <msbarth@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r--xyz/openbmc_project/Sensor/Device.errors.yaml3
-rw-r--r--xyz/openbmc_project/Sensor/Device.metadata.yaml3
2 files changed, 6 insertions, 0 deletions
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
OpenPOWER on IntegriCloud