blob: d419c74a6ec3da78434cd220bd83c164d6f0d386 [file] [log] [blame]
Brad Bishopbf066a62016-10-19 08:09:44 -04001description: >
2 An example inventory match rule.
3
4events:
5 - name: Example Match(1)
6 description: >
Brad Bishop22ecacc2016-12-01 08:38:06 -05007 Sets the value of ExampleProperty1 on /changeme
8 when the value of ExampleProperty2 on
9 /testing/inventory/trigger2 changes to yyyxxx.
Brad Bishopbf066a62016-10-19 08:09:44 -040010 type: match
Brad Bishop22cfbe62016-11-30 13:25:10 -050011 signatures:
12 - type: signal
13 interface: org.freedesktop.DBus.Properties
Brad Bishop22ecacc2016-12-01 08:38:06 -050014 path: /testing/inventory/trigger2
Brad Bishop22cfbe62016-11-30 13:25:10 -050015 member: PropertiesChanged
Brad Bishop22ecacc2016-12-01 08:38:06 -050016 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: yyyxxx
Brad Bishop22cfbe62016-11-30 13:25:10 -050023 actions:
Brad Bishope2e402f2016-11-30 18:00:17 -050024 - name: setProperty
Brad Bishopc93bcc92017-01-21 16:23:39 -050025 interface: xyz.openbmc_project.Example.Iface1
26 property: ExampleProperty1
27 path: /changeme
28 value:
29 type: string
30 value: changed
Brad Bishopbf066a62016-10-19 08:09:44 -040031
32# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4