commit | 9d10fb21bacf067052cac28d2c5f20b254d0886d | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sun Jan 15 20:15:20 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Jan 16 00:09:10 2017 -0500 |
tree | 91fe6f0e31d66d3f51602da1afc5988729cd8b67 | |
parent | 9aa5e2f2290aa102ea7b537fd126f70433ae0a26 [diff] |
Don't save empty objects Handle an exceptional case where the notify method is called without any interfaces. Change-Id: I27424db41e95590968eba7849b424188a0eb743c 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