blob: 22f7c805fdebb0599bbb90a80b7028b9ca652962 [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
Brad Bishop8f868502017-01-23 13:13:58 -05009 /testing/trigger1 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 Bishop8f868502017-01-23 13:13:58 -050013 path: /testing/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:
Brad Bishop7b7e7122017-01-21 21:21:46 -050024 - name: destroyObjects
25 paths:
26 - /deleteme1
27 - /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