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: > |
Brad Bishop | 432e352 | 2016-12-01 00:24:14 -0500 | [diff] [blame] | 7 | Destroys the /deleteme1 and /deleteme2 objects |
| 8 | When the value of ExampleProperty2 on |
| 9 | /testing/inventory/trigger changes to xxxyyy. |
Brad Bishop | bf066a6 | 2016-10-19 08:09:44 -0400 | [diff] [blame] | 10 | type: match |
Brad Bishop | 22cfbe6 | 2016-11-30 13:25:10 -0500 | [diff] [blame] | 11 | signatures: |
| 12 | - type: signal |
Brad Bishop | 432e352 | 2016-12-01 00:24:14 -0500 | [diff] [blame] | 13 | path: /testing/inventory/trigger1 |
Brad Bishop | 22cfbe6 | 2016-11-30 13:25:10 -0500 | [diff] [blame] | 14 | interface: org.freedesktop.DBus.Properties |
| 15 | member: PropertiesChanged |
| 16 | filters: |
| 17 | - name: propertyChangedTo |
Brad Bishop | c93bcc9 | 2017-01-21 16:23:39 -0500 | [diff] [blame^] | 18 | interface: xyz.openbmc_project.Example.Iface2 |
| 19 | property: ExampleProperty2 |
| 20 | value: |
| 21 | type: string |
| 22 | value: xxxyyy |
Brad Bishop | 22cfbe6 | 2016-11-30 13:25:10 -0500 | [diff] [blame] | 23 | actions: |
| 24 | - name: destroyObject |
Brad Bishop | c93bcc9 | 2017-01-21 16:23:39 -0500 | [diff] [blame^] | 25 | path: /deleteme1 |
Brad Bishop | 432e352 | 2016-12-01 00:24:14 -0500 | [diff] [blame] | 26 | - name: destroyObject |
Brad Bishop | c93bcc9 | 2017-01-21 16:23:39 -0500 | [diff] [blame^] | 27 | path: /deleteme2 |
Brad Bishop | 432e352 | 2016-12-01 00:24:14 -0500 | [diff] [blame] | 28 | |
Brad Bishop | bf066a6 | 2016-10-19 08:09:44 -0400 | [diff] [blame] | 29 | |
| 30 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |