commit | cfb3c8900fadcf825e36dde26636538dd9192f04 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Nov 12 11:43:37 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Nov 21 11:16:21 2016 -0500 |
tree | dac9d0dc78693c1d26a7f8229cb2bc97e31fd681 | |
parent | 4d16b69bb06c3ea03ea6f315d49ccce361191dfe [diff] |
pimgen: Combine make_example and pimgen Change-Id: I1c79fad6a4b70e711c8aad15c9dd86a07b54bff9
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