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>
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 @@
- 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 @@
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.