summaryrefslogtreecommitdiffstats
path: root/org/open_power/Host
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-05-24 04:11:58 -0500
committerMarri Devender Rao <devenrao@in.ibm.com>2017-05-30 04:39:11 -0500
commitb331f56c416812b20c1a338b3ffdce32d169a0c1 (patch)
tree68605ad9f5192812d90675c725fbd793bddc3a0e /org/open_power/Host
parent569bd13127416a766d89b5dc102ef2b80293daa4 (diff)
downloadopenpower-dbus-interfaces-b331f56c416812b20c1a338b3ffdce32d169a0c1.tar.gz
openpower-dbus-interfaces-b331f56c416812b20c1a338b3ffdce32d169a0c1.zip
Moving the Event error yaml file to parent Host path
Having Error in the directory path of "org/open_power/Error/Host/Event.errors.yaml" causes issue when mapping sdbusplus exception type to phosphor type. Following sdbus exception type is converted to phosphor type by replacing sdbusplus and Error with empty space. As there is an Error directory in the sdbusplus type it causes issue in the mapping. Change-Id: I67c4a9121c2316cf548888a5b4ebc6b941dfcfd1 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'org/open_power/Host')
-rw-r--r--org/open_power/Host/Event.errors.yaml2
-rw-r--r--org/open_power/Host/Event.metadata.yaml5
2 files changed, 7 insertions, 0 deletions
diff --git a/org/open_power/Host/Event.errors.yaml b/org/open_power/Host/Event.errors.yaml
new file mode 100644
index 0000000..c48f3ed
--- /dev/null
+++ b/org/open_power/Host/Event.errors.yaml
@@ -0,0 +1,2 @@
+- name: Event
+ description: A host system event was received
diff --git a/org/open_power/Host/Event.metadata.yaml b/org/open_power/Host/Event.metadata.yaml
new file mode 100644
index 0000000..05688ed
--- /dev/null
+++ b/org/open_power/Host/Event.metadata.yaml
@@ -0,0 +1,5 @@
+- name: Event
+ level: ERR
+ meta:
+ - str: "ESEL=%s"
+ type: string
OpenPOWER on IntegriCloud