diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-08-14 16:24:55 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2017-08-21 14:26:43 +0000 |
commit | acac602db5e27f315bb63df2910682615aae5cfd (patch) | |
tree | bf8ef426ac248f872d8b54445246fbb6e046b5dc /src | |
parent | 2c11e4561c42331decf12e373c0839f40116c936 (diff) | |
download | phosphor-dbus-monitor-acac602db5e27f315bb63df2910682615aae5cfd.tar.gz phosphor-dbus-monitor-acac602db5e27f315bb63df2910682615aae5cfd.zip |
Add elog to example.yaml
Change-Id: I97f73dd310cae4b2d67122bc51414e2a5397f0b3
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/example/example.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml index 6108780..264a71e 100644 --- a/src/example/example.yaml +++ b/src/example/example.yaml @@ -78,6 +78,27 @@ severity: INFO message: Hello world from PDM! +- name: example elog 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 elog callback logs the elog and elog metadata.' + class: callback + callback: elog + paths: example path group + properties: example property group + error: xyz::openbmc_project::Common::Error::InvalidArgument + metadata: + - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_NAME + value: testing... + type: string + - name: xyz::openbmc_project::Common::InvalidArgument::ARGUMENT_VALUE + value: testing... + type: string + - name: example method callback description: > 'The method callback invokes the specified D-Bus method.' @@ -110,6 +131,7 @@ members: - example journal callback - example deferred condition + - example elog callback - name: example count condition description: > |