Rewrite pimgen in the image of sdbus++
Almost complete rewrite of pimgen and the mako template.
Adopt the sdbus++ application structure. The hope is that
this will encourage additional sdbusplus features deemed
general purpose enough for reuse with other applications.
Change-Id: I007ff9f5fc9a64f0465159bd1301475ada139d55
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/example/events.d/match2.yaml b/example/events.d/match2.yaml
index 4bf2ddd..d31a694 100644
--- a/example/events.d/match2.yaml
+++ b/example/events.d/match2.yaml
@@ -7,18 +7,22 @@
Matches any PropertiesChanged signal emitted
by /xyz/openbmc_project/testing.
type: match
- signature:
- type: signal
- path: /xyz/openbmc_project/Inventory/example
- interface: org.freedesktop.DBus.Properties
- member: PropertiesChanged
- filter:
- type: propertyChangedTo
- args:
- - value: xyz.openbmc_project.Example.Iface1
- - value: ExampleProperty1
- - value: teststring
- action:
- type: destroyObject("Example")
+ signatures:
+ - type: signal
+ path: /xyz/openbmc_project/Inventory/example
+ interface: org.freedesktop.DBus.Properties
+ member: PropertiesChanged
+ filters:
+ - name: propertyChangedTo
+ args:
+ interface: xyz.openbmc_project.Example.Iface1
+ property: ExampleProperty1
+ value:
+ type: string
+ value: testString
+ actions:
+ - name: destroyObject
+ args:
+ path: Example
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4