diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-11-01 10:51:19 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2017-11-14 11:14:53 -0600 |
commit | f7a6a462e357726fa20aa487d838a4890100d46f (patch) | |
tree | f8e9a0e7bfb723aebfcab8bd11c3871ba78bc6b6 /src/example/example.yaml | |
parent | 1d6ca484ee58c9ab44b4efc66c5b7dfc89b0c2f1 (diff) | |
download | phosphor-dbus-monitor-f7a6a462e357726fa20aa487d838a4890100d46f.tar.gz phosphor-dbus-monitor-f7a6a462e357726fa20aa487d838a4890100d46f.zip |
Add resolve callout example
Change-Id: Ie80bff38947a79cc686eaf9db9c80453d28a4fb6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'src/example/example.yaml')
-rw-r--r-- | src/example/example.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml index 264a71e..16cdce8 100644 --- a/src/example/example.yaml +++ b/src/example/example.yaml @@ -114,6 +114,22 @@ - value: replace type: string +- name: example resolve callouts callback + description: > + 'The resolve callout callback resolves all error log entries that + are associated with the inventory path specified by setting the + Resolved property in the entries to true. + + A use case could be to watch the Present property on the inventory + item and resolve all errors for it when a new one is plugged in and + the property changes to true.' + + class: callback + callback: resolve callout + paths: example path group + properties: example property group + callout: /xyz/openbmc_project/inventory/system/chassis/motherboard/fan0 + - name: example callback group description: > 'Callbacks groups are simply named collections of other callbacks. |