Add support for application startup events.
Allow clients to specify filters and actions that trigger
on application startup.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ib36c5bab778d7c87906dd3f61a3a6e033c7ccde1
diff --git a/example/events.d/match1.yaml b/example/events.d/match1.yaml
index 0d53657..9dca187 100644
--- a/example/events.d/match1.yaml
+++ b/example/events.d/match1.yaml
@@ -74,4 +74,17 @@
value: 888
type: int64
+ - name: startup event example
+ description: >
+ Create /createme3 at startup.
+ type: startup
+ actions:
+ - name: createObjects
+ objs:
+ /createme3:
+ xyz.openbmc_project.Example.Iface1:
+ ExampleProperty1:
+ value: foo
+ type: string
+
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4