summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-14 06:28:52 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-03-28 20:54:05 +0000
commit70e4fcf5af8913ba2da4ba7b1a4e77c17adcd6b3 (patch)
tree7d943fad596c72b635f9e5ae90a8e82081d2c085
parent0f91d47ac9a2315bd3bfb803fec8ab90bb743786 (diff)
downloadopenpower-dbus-interfaces-70e4fcf5af8913ba2da4ba7b1a4e77c17adcd6b3.tar.gz
openpower-dbus-interfaces-70e4fcf5af8913ba2da4ba7b1a4e77c17adcd6b3.zip
Add interface org.open_power.OCC.PassThrough
This interface can be implemented to provide a pass-through call to the OCC. Change-Id: Ia54cde3c08faaabd28b1b9f2bfb278e5aca62af3 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rw-r--r--org/open_power/OCC/PassThrough.interface.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/org/open_power/OCC/PassThrough.interface.yaml b/org/open_power/OCC/PassThrough.interface.yaml
new file mode 100644
index 0000000..3fc968c
--- /dev/null
+++ b/org/open_power/OCC/PassThrough.interface.yaml
@@ -0,0 +1,28 @@
+description: >
+ Implement to provide pass-through mechanism to the On Chip Controller (OCC).
+methods:
+ - name: Send
+ description: >
+ Pass through a command to the OCC.
+ parameters:
+ - name: command
+ # TODO via https://github.com/openbmc/openbmc/issues/1160. This should
+ # change to array[byte]. As of now, the REST server maps any numeric
+ # data to int32.
+ type: array[int32]
+ description: >
+ An array of integers representing the command and payload. This
+ should still be bytes worth of data (as though using array[byte]),
+ so each entry in the array should pack as many bytes as possible.
+ returns:
+ - name: response
+ # TODO via https://github.com/openbmc/openbmc/issues/1160. This should
+ # change to array[byte]. As of now, the REST server maps any numeric
+ # data to int32.
+ type: array[int32]
+ description: >
+ An array of integers representing the response. This
+ should still be bytes worth of data (as though using array[byte]),
+ so each entry in the array should pack as many bytes as possible.
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud