summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-10-19 13:02:24 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-11-08 14:51:16 -0500
commitc038e016eac8a4bac9b4a06546fe975eb63ce9ff (patch)
treeba4df554c300ff72877742b7037128fad4d2968f /README.md
parent3d57f507b41860d11059904e87da61b4f25cfd82 (diff)
downloadphosphor-inventory-manager-c038e016eac8a4bac9b4a06546fe975eb63ce9ff.tar.gz
phosphor-inventory-manager-c038e016eac8a4bac9b4a06546fe975eb63ce9ff.zip
Add actions
Provide tooling to enable specification of pre-implemented actions to perform after a signal match. Add a default 'noop' action to be used when an action isn't specified. Change-Id: I8d3b1ef2cfc26771322820be931a61bba3ad8d94 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index e2415c0..5e9b597 100644
--- a/README.md
+++ b/README.md
@@ -20,10 +20,24 @@ Supported event tags are:
* name - A globally unique event name.
* type - The event type. Supported types are: *match*.
+* action - The response to the event.
Subsequent tags are defined by the event type.
----
+**action**
+Supported action tags are:
+
+* name - The action name.
+* args - An optional list of arguments to pass to the action.
+* value - The argument value.
+* type - The argument type (defaults to string if unspecified).
+
+The available actions provided by PIM are:
+
+* noop - A non-action.
+
+----
**match**
Supported match tags are:
OpenPOWER on IntegriCloud