blob: 5fe23881eed85f5bad460b0a028f78558cd5d942 [file] [log] [blame]
Brad Bishopbf066a62016-10-19 08:09:44 -04001description: >
2 An example inventory match rule.
3
4events:
5 - name: Example Match(2)
6 description: >
Brad Bishop432e3522016-12-01 00:24:14 -05007 Destroys the /deleteme1 and /deleteme2 objects
8 When the value of ExampleProperty2 on
9 /testing/inventory/trigger changes to xxxyyy.
Brad Bishopbf066a62016-10-19 08:09:44 -040010 type: match
Brad Bishop22cfbe62016-11-30 13:25:10 -050011 signatures:
12 - type: signal
Brad Bishop432e3522016-12-01 00:24:14 -050013 path: /testing/inventory/trigger1
Brad Bishop22cfbe62016-11-30 13:25:10 -050014 interface: org.freedesktop.DBus.Properties
15 member: PropertiesChanged
16 filters:
17 - name: propertyChangedTo
Brad Bishopc93bcc92017-01-21 16:23:39 -050018 interface: xyz.openbmc_project.Example.Iface2
19 property: ExampleProperty2
20 value:
21 type: string
22 value: xxxyyy
Brad Bishop22cfbe62016-11-30 13:25:10 -050023 actions:
24 - name: destroyObject
Brad Bishopc93bcc92017-01-21 16:23:39 -050025 path: /deleteme1
Brad Bishop432e3522016-12-01 00:24:14 -050026 - name: destroyObject
Brad Bishopc93bcc92017-01-21 16:23:39 -050027 path: /deleteme2
Brad Bishop432e3522016-12-01 00:24:14 -050028
Brad Bishopbf066a62016-10-19 08:09:44 -040029
30# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4