commit | 49aefb3176d0a4c6d60ece4884d3850bcf9f75ca | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Oct 19 11:54:14 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 08 14:43:56 2016 -0500 |
tree | b27c6be4d3cca5d494acad86977166f5488ff852 | |
parent | bf066a6396771214b2a9c47444b991f2750c0cfc [diff] |
Add manager skeleton Add stubbed Notify implementation and register for generated signal callbacks. Add a unit test; which, at this point does little more than verify we don't coredump on startup. Change-Id: I0cda71935947c0d082612a5c52e2b7eba98516ab 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.
match Supported match tags 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