summaryrefslogtreecommitdiffstats
path: root/examples/match2.yaml
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-10-19 22:20:02 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-11-08 15:01:04 -0500
commit656a7d0071d1a896c5fa53320de4a138d9332bd5 (patch)
tree084f879ecc617c45da777d50c7f81862d0998f77 /examples/match2.yaml
parentc0eae1172d3a2c832fc72f9d7bda81d4b723bee9 (diff)
downloadphosphor-inventory-manager-656a7d0071d1a896c5fa53320de4a138d9332bd5.tar.gz
phosphor-inventory-manager-656a7d0071d1a896c5fa53320de4a138d9332bd5.zip
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>
Diffstat (limited to 'examples/match2.yaml')
-rw-r--r--examples/match2.yaml2
1 files changed, 2 insertions, 0 deletions
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 @@ events:
- value: xyz.openbmc_project.Testing
- value: TestProperty
- value: teststring
+ action:
+ name: destroyObject("Example")
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud