commit | e4b1b1e7835c22a46839f53e68032374731425ce | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Jan 23 10:37:39 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jan 24 14:39:00 2017 -0500 |
tree | c829ebe79e95c89fd6c2af763859cd117e37b89b | |
parent | effbd93eaf4464881c97184fbc6e0304d78873fe [diff] |
docs: Update documentation Update the README to reflect the current state of affairs. Change-Id: I10397145684176f4529a9506f71216244bc6aaf7 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. Examples 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.
match
Supported match tags are:
filters
Supported filter tags are:
The available filters provided by PIM are:
propertyChangedTo
Supported arguments for the propertyChangedTo filter are:
actions
Supported action tags are:
The available actions provided by PIM are:
destroyObject
Supported arguments for the destroyObject action are:
setProperty
Supported arguments for the setProperty action 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