summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-01-17 00:16:49 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-01-19 18:22:43 +0000
commit3b34cd1d919f7eb0974b0370a4c667cec3f972ba (patch)
treee4de4d134770cb7b29d658cc5e543ad790d6daa3
parent124967ebddcdc852b6f1ca1dd6ff2e5589896443 (diff)
downloadphosphor-dbus-interfaces-3b34cd1d919f7eb0974b0370a4c667cec3f972ba.tar.gz
phosphor-dbus-interfaces-3b34cd1d919f7eb0974b0370a4c667cec3f972ba.zip
Define openbmc error for an IPMI sensor callout
An IPMI callout is identified by the sensor number. Change-Id: Ibc9f9ca7b0421f82b769aa2476b21c851275a756 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rw-r--r--xyz/openbmc_project/Error/Callout/IPMISensor.errors.yaml3
-rw-r--r--xyz/openbmc_project/Error/Callout/IPMISensor.metadata.yaml4
2 files changed, 7 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Error/Callout/IPMISensor.errors.yaml b/xyz/openbmc_project/Error/Callout/IPMISensor.errors.yaml
new file mode 100644
index 0000000..ced9eae
--- /dev/null
+++ b/xyz/openbmc_project/Error/Callout/IPMISensor.errors.yaml
@@ -0,0 +1,3 @@
+#xyz.openbmc_project.Error.Callout.IPMISensor
+- name: IPMISensor
+ description: Callout IPMI sensor
diff --git a/xyz/openbmc_project/Error/Callout/IPMISensor.metadata.yaml b/xyz/openbmc_project/Error/Callout/IPMISensor.metadata.yaml
new file mode 100644
index 0000000..714f021
--- /dev/null
+++ b/xyz/openbmc_project/Error/Callout/IPMISensor.metadata.yaml
@@ -0,0 +1,4 @@
+- name: IPMISensor
+ meta:
+ - str: "CALLOUT_IPMI_SENSOR_NUM=%u"
+ type: uint32
OpenPOWER on IntegriCloud