commit | 656a7d0071d1a896c5fa53320de4a138d9332bd5 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Oct 19 22:20:02 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 08 15:01:04 2016 -0500 |
tree | 084f879ecc617c45da777d50c7f81862d0998f77 | |
parent | c0eae1172d3a2c832fc72f9d7bda81d4b723bee9 [diff] |
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>
Phosphor Inventory Manager (PIM) is an implementation of the xyz.openbmc_project.Inventory.Manager DBus interface, and supporting tools. PIM uses a combination of build-time YAML files and run-time calls to the Notify method of the Manager interface to provide a generalized inventory state management solution.
PIM includes a YAML parser (pimgen.py). For PIM to do anything useful, a set of YAML files must be provided externally that tell it what to do. An example can be found in the examples directory.
The following top level YAML tags are supported:
events Supported event tags are:
Subsequent tags are defined by the event type.
action Supported action tags are:
The available actions provided by PIM are:
match Supported match tags are:
filter Supported filter tags are:
The available filters provided by PIM are:
After running pimgen.py, build PIM using the following steps:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To clean the repository run:
./bootstrap.sh clean