commit | c029f6aaa2e414567056836ea63409c8418cace8 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jan 18 19:43:26 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jan 24 14:38:59 2017 -0500 |
tree | cb720d15d3d2aa861aad88e51b11840ddd916d1d | |
parent | e07a164897f5ce584cbdb93bd8f50055bd56ac6a [diff] |
pimgen: Display possible commands with help Change-Id: Ibdc6671289487224dae639643c36f1ac05a3eb6f 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