commit | adc4566c0cf67413ed4987309f4194c8636633dd | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri Oct 28 20:00:57 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 08 15:01:04 2016 -0500 |
tree | 33079fb4c197cc6a43ae57e2b0b78910b1f806b2 | |
parent | afbd28efcc2a070c0d6b9ec1a8bb392bdd54d0d6 [diff] |
Add manager interface server binding Eventually any DBus interfaces in phosphor-dbus-interfaces will have bindings generated and available in a shared library. Add the generated Manager interface directly to the repository until that happens. Change-Id: I9e1ac3266ca6467bbddbbd12ed2d2de6c079765b 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