commit | b83a21ea3eb4848ae7009d6010062aa01620edd5 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Nov 30 13:43:37 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Jan 12 16:53:38 2017 -0500 |
tree | 090188e1bd8131f91be8dfcb8b91972e29b60c3b | |
parent | 432e35277738a03f1ce71614a95d79750795d238 [diff] |
Add interface exposing utility functions Add utility functions enabling easy method calls on sdbusplus interface binding objects. Change-Id: Ie1d01f82604406705869fea0ec19d84c95d90474 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