summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-10-27 01:50:14 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2017-11-02 14:55:55 +0530
commit2e2264efcb741950a11fe411a1ee54e30a1b1ff2 (patch)
treea825419d1d89bf44280dedae94c629714b4857a1
parent27fb00aa9dc9903abfab5b25ef27c7b24daff951 (diff)
downloadopenpower-dbus-interfaces-2e2264efcb741950a11fe411a1ee54e30a1b1ff2.zip
openpower-dbus-interfaces-2e2264efcb741950a11fe411a1ee54e30a1b1ff2.tar.gz
Define error and metadata yaml for procedure callouts
OpenPOWER systems defines maintenance procedure callouts, which points to a specific procedure that needs to be executed on the server in order to identify the faulty hardware and repair the error. Each maintenance procedure is documented externally. Change-Id: Id4d9da38c6b13951cd0731ad25cea0d39c74bca0 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
-rw-r--r--org/open_power/Common/Callout.errors.yaml2
-rw-r--r--org/open_power/Common/Callout.metadata.yaml4
-rw-r--r--org/open_power/Host.errors.yaml3
-rw-r--r--org/open_power/Host.metadata.yaml8
4 files changed, 17 insertions, 0 deletions
diff --git a/org/open_power/Common/Callout.errors.yaml b/org/open_power/Common/Callout.errors.yaml
new file mode 100644
index 0000000..dab7a3b
--- /dev/null
+++ b/org/open_power/Common/Callout.errors.yaml
@@ -0,0 +1,2 @@
+- name: Procedure
+ description: Procedure callout
diff --git a/org/open_power/Common/Callout.metadata.yaml b/org/open_power/Common/Callout.metadata.yaml
new file mode 100644
index 0000000..00e2067
--- /dev/null
+++ b/org/open_power/Common/Callout.metadata.yaml
@@ -0,0 +1,4 @@
+- name: Procedure
+ meta:
+ - str: "PROCEDURE=%u"
+ type: uint32
diff --git a/org/open_power/Host.errors.yaml b/org/open_power/Host.errors.yaml
index c48f3ed..ab3df62 100644
--- a/org/open_power/Host.errors.yaml
+++ b/org/open_power/Host.errors.yaml
@@ -1,2 +1,5 @@
- name: Event
description: A host system event was received
+
+- name: MaintenanceProcedure
+ description: A host system event with a procedure callout
diff --git a/org/open_power/Host.metadata.yaml b/org/open_power/Host.metadata.yaml
index 125f397..8fd8870 100644
--- a/org/open_power/Host.metadata.yaml
+++ b/org/open_power/Host.metadata.yaml
@@ -5,3 +5,11 @@
type: string
inherits:
- xyz.openbmc_project.Common.Callout.Inventory
+
+- name: MaintenanceProcedure
+ level: ERR
+ meta:
+ - str: "ESEL=%s"
+ type: string
+ inherits:
+ - org.open_power.Common.Callout.Procedure
OpenPOWER on IntegriCloud