actions: Add destroy action
Add an action to destroy an object on signal match.
Change-Id: I23fb160bcf7507d0d0a5f2d82f1cfb24131adf76
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/examples/match2.yaml b/examples/match2.yaml
index 8cfa105..269a469 100644
--- a/examples/match2.yaml
+++ b/examples/match2.yaml
@@ -18,5 +18,7 @@
- value: xyz.openbmc_project.Testing
- value: TestProperty
- value: teststring
+ action:
+ name: destroyObject("Example")
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4