summaryrefslogtreecommitdiffstats
path: root/org/open_power
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-07-21 11:28:00 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-07-27 14:57:40 +0530
commit77e153f8e8a6d0c5b6b3b519491cce8bdebdb854 (patch)
tree0d5bc39cdfb3b2db2fbe99667faac5498ba3c449 /org/open_power
parente1d296dc5c9ed84b08658609115d49f3b6935250 (diff)
downloadopenpower-dbus-interfaces-77e153f8e8a6d0c5b6b3b519491cce8bdebdb854.tar.gz
openpower-dbus-interfaces-77e153f8e8a6d0c5b6b3b519491cce8bdebdb854.zip
Update Host interface yaml
Host.interface.yaml defines the mechanism to communicate with the Host via a method. Since the data associated with OCCReset command is the sensor id of the OCC, there is need now to augment the signature of the API to take this data portion. OCC error monitor application will call Execute method with the sensor ID of the failing OCC. Change-Id: I9f532f3d565448a1840c5ba61402c7cddea0224c Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'org/open_power')
-rw-r--r--org/open_power/Control/Host.interface.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/org/open_power/Control/Host.interface.yaml b/org/open_power/Control/Host.interface.yaml
index c5ac672..ea5e9a1 100644
--- a/org/open_power/Control/Host.interface.yaml
+++ b/org/open_power/Control/Host.interface.yaml
@@ -16,11 +16,14 @@ methods:
- name: command
type: enum[self.Command]
description: Requested command to execute against the host
+ - name: data
+ type: variant[byte]
+ description: Data associated with the command.
signals:
- name: CommandComplete
description: >
- Signal indicating that a Command has completed
+ Signal indicating that a command has completed
properties:
- name: command
type: enum[self.Command]
@@ -38,6 +41,7 @@ enumerations:
description: >
Host firmware should reset the OCC. This is invoked by
OCC error monitor application on detecting the error.
+ Sensor ID of the failing OCC will be sent as data.
This command will return once the command has been placed
in command Queue.
OpenPOWER on IntegriCloud