Brad Bishop | bf066a6 | 2016-10-19 08:09:44 -0400 | [diff] [blame] | 1 | description: > |
| 2 | An example inventory match rule. |
| 3 | |
| 4 | events: |
| 5 | - name: Example Match(2) |
| 6 | description: > |
| 7 | Matches any PropertiesChanged signal emitted |
| 8 | by /xyz/openbmc_project/testing. |
| 9 | type: match |
Brad Bishop | 22cfbe6 | 2016-11-30 13:25:10 -0500 | [diff] [blame] | 10 | signatures: |
| 11 | - type: signal |
| 12 | path: /xyz/openbmc_project/Inventory/example |
| 13 | interface: org.freedesktop.DBus.Properties |
| 14 | member: PropertiesChanged |
| 15 | filters: |
| 16 | - name: propertyChangedTo |
| 17 | args: |
| 18 | interface: xyz.openbmc_project.Example.Iface1 |
| 19 | property: ExampleProperty1 |
| 20 | value: |
| 21 | type: string |
| 22 | value: testString |
| 23 | actions: |
| 24 | - name: destroyObject |
| 25 | args: |
| 26 | path: Example |
Brad Bishop | bf066a6 | 2016-10-19 08:09:44 -0400 | [diff] [blame] | 27 | |
| 28 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |