From acac602db5e27f315bb63df2910682615aae5cfd Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Mon, 14 Aug 2017 16:24:55 -0500 Subject: Add elog to example.yaml Change-Id: I97f73dd310cae4b2d67122bc51414e2a5397f0b3 Signed-off-by: Gunnar Mills --- src/example/example.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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: > -- cgit v1.2.1