diff options
author | Marri Devender Rao <devenrao@in.ibm.com> | 2018-04-12 09:22:55 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-05 02:10:49 +0000 |
commit | 80c70610a0ea96cf609387638f9f3f9bee0c581d (patch) | |
tree | e07a5f96bff47280cf47980f63b6bce78b491caf /src/example/example.yaml | |
parent | 0dabe5924d56be25a9bf2277effd2b87c698a9fe (diff) | |
download | phosphor-dbus-monitor-80c70610a0ea96cf609387638f9f3f9bee0c581d.tar.gz phosphor-dbus-monitor-80c70610a0ea96cf609387638f9f3f9bee0c581d.zip |
Modify parser and add mako scripts for watch on object path
Added support for watch and callback on 'interface added'
signal for the specified object paths.
Added mako scripts for events to auto create callback
and watch objects for the specified object path groups.
Clients specify object paths to watch and callbacks to
invoke in the config.yaml file
Change-Id: I3fa2ea1520649120b927c0cb83a16e5cace2f24e
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'src/example/example.yaml')
-rw-r--r-- | src/example/example.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml index ec0a611..b011a26 100644 --- a/src/example/example.yaml +++ b/src/example/example.yaml @@ -244,3 +244,28 @@ countbound: 3 op: '>=' bound: 115 + +- name: errorlog path group + class: group + group: path + members: + - meta: PATH + path: /xyz/openbmc_project/logging + +- name: pathwatch errorlog + description: > + 'A pathwatch watches on the specified object path goup. + pathcallback are actions PDM should take when instructed to do so.' + + class: pathwatch + pathwatch: path + paths: errorlog path group + pathcallback: create errorlog event + +- name: create errorlog event + description: > + 'eventType specifies the type of the SNMP notification.' + class: pathcallback + pathcallback: eventpath + paths: errorlog path group + eventType: ErrorTrap |