diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-05-23 17:58:12 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-04 22:40:30 -0400 |
commit | 0e7df1317a055fd0a3e15fb46b1e78b6887ee2c8 (patch) | |
tree | 015e03140cb2fecc893f6c7a0236898fd928dac8 /src/example | |
parent | 05b0c1eef9de3dcd56fd2eee65db9e228231d3f7 (diff) | |
download | phosphor-dbus-monitor-0e7df1317a055fd0a3e15fb46b1e78b6887ee2c8.tar.gz phosphor-dbus-monitor-0e7df1317a055fd0a3e15fb46b1e78b6887ee2c8.zip |
Add path and path group support
Add support for defining groups of object paths. Groups are
a list of path/metadata tuples. Metadata can be used to
give a path context when required.
Change-Id: I355ebf76b40f2ffc8d783e94e888b930cde8ee9c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/example.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/example/example.yaml b/src/example/example.yaml index 5a798e9..87c9790 100644 --- a/src/example/example.yaml +++ b/src/example/example.yaml @@ -1 +1,28 @@ # Example PDM configuration file. + +- name: example path group + description: > + 'A path group is a named collection of DBus object + paths and associated metadata. These collections + serve only to be referenced by other configuration + directives. + + The metadata element has different uses depending + on the referencing directive. + + Within a single configuration file path group names + must be unique. The same name can appear in multiple + configuration files; however, the referencing directive + will only search for the group in the same configuration + file.' + class: group + group: path + members: + - meta: path + path: /xyz/openbmc_project/testing/inst1 + - meta: path + path: /xyz/openbmc_project/testing/inst2 + - meta: path + path: /xyz/openbmc_project/testing/inst3 + - meta: path + path: /xyz/openbmc_project/testing/inst4 |