commit | 64d994a61cbb8a2693f9d5d9413f7e09d851c53b | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Oct 31 10:24:27 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 08 15:15:36 2016 -0500 |
tree | aa50ea6fcb687cb6ba7b8287331d451ade521bff | |
parent | d202bfdb3afb2b22a829307b81fc144731874c91 [diff] |
Optionally include generated example bindings Add an autoconf opttion that includes the example bindings, for use in standalone/testing environments. Change-Id: Id44f02a9bc7adcc8b36c09f0867ee1a663d7e25c 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