Parse match rules
The 'pimgen.py' parser will parse one or more yaml files containing
inventory manager match rules and generate the required c++ header
file.
Change-Id: Id3b116450bd56487e266590dd339b93db9bc7d27
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/examples/match2.yaml b/examples/match2.yaml
new file mode 100644
index 0000000..3e11531
--- /dev/null
+++ b/examples/match2.yaml
@@ -0,0 +1,16 @@
+description: >
+ An example inventory match rule.
+
+events:
+ - name: Example Match(2)
+ description: >
+ Matches any PropertiesChanged signal emitted
+ by /xyz/openbmc_project/testing.
+ type: match
+ signature:
+ type: signal
+ path: /xyz/openbmc_project/testing
+ interface: org.freedesktop.DBus.Properties
+ member: PropertiesChanged
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4