commit | 451f8d931a7a10d34c03f4348f64c3057f8d34f3 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Nov 21 14:15:19 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 22 15:16:05 2016 -0500 |
tree | eba156596603aa4099b924a8399026b7006b3d7f | |
parent | 67a5cdb41bb82094085c6e31459a671a04639a81 [diff] |
Use sdbusplus object wrapper Use sdbusplus::server::object::object to wrap interfaces. This is the preferred way to ensure created objects emit freedesktop ObjectManager signals. Resolves openbmc/openbmc#756 Change-Id: Ia57057e0227ed92bef77f28e42942194f5e802f3 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