diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-19 11:06:51 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-31 14:10:00 -0500 |
commit | fa51da745c5be2ac85265af43333cf7af1047cb8 (patch) | |
tree | 0e046bc5e02c23558ac67f04c4b03e85679dfd4d /README.md | |
parent | 040e18b92bc0be25fc6a5e086474ab69a53e465c (diff) | |
download | phosphor-inventory-manager-fa51da745c5be2ac85265af43333cf7af1047cb8.tar.gz phosphor-inventory-manager-fa51da745c5be2ac85265af43333cf7af1047cb8.zip |
Add propertyIs filter
The existing property match filter tests a property
in the PropertiesChanged signal payload.
Add a match filter that tests any arbitrary property on
any object.
Change-Id: I1c238c03a3ccbf45f7b338693a4342fbd4f670c2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -47,15 +47,38 @@ The available filters provided by PIM are: * propertyChangedTo - Only match events when the specified property has the specified value. +* propertyIs - Only match events when the specified property has +the specified value. ---- **propertyChangedTo** +The property under test is obtained from an sdbus message +generated from an org.freedesktop.DBus.Properties.PropertiesChanged +signal payload. + Supported arguments for the propertyChangedTo filter are: * interface - The interface hosting the property to be checked. * property - The property to check. * value - The value to check. +---- +**propertyIs** + +The property under test is obtained by invoking +org.freedesktop.Properties.Get on the specified interface. + +Supported arguments for the propertyIs filter are: +* path - The object hosting the property to be checked. +* interface - The interface hosting the property to be checked. +* property - The property to check. +* value - The value to check. +* service - An optional DBus service name. + +The service argument is optional. If provided that service will +be called explicitly. If omitted, the service will be obtained +with an xyz.openbmc_project.ObjectMapper lookup. + --- **actions** |