commit | 09fc256bdd02dd3c8aeb158573bccfec21387ecc | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri Oct 21 22:58:08 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 08 15:01:04 2016 -0500 |
tree | 45c46916e97890fafcc736690a66ed5310194aa0 | |
parent | adc4566c0cf67413ed4987309f4194c8636633dd [diff] |
Move examples->example/events Change-Id: I072cd37217f982fa45d6fae7f1ebebdabe1a7800 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