summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/example/example.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml
index 16cdce8..226f491 100644
--- a/src/example/example.yaml
+++ b/src/example/example.yaml
@@ -99,6 +99,23 @@
value: testing...
type: string
+- name: example event callback
+ description: >
+ 'Callbacks are actions PDM should take when instructed to do so.
+
+ Some callback types refer to a group of paths and group of properties
+ in a similar fashion as the property watch directive.
+
+ The event callback creates the event D-Bus object with the given name
+ and the event message.
+ eg /xyz/openbmc_project/events/test/<id>'
+ class: callback
+ callback: event
+ paths: example path group
+ properties: example property group
+ eventName: test
+ eventMessage: "Test configuration changed."
+
- name: example method callback
description: >
'The method callback invokes the specified D-Bus method.'
OpenPOWER on IntegriCloud