commit | ea6d93a724ab497ae59e4ea0ea56c33700ed4e4c | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Nov 12 12:02:24 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Nov 21 11:18:04 2016 -0500 |
tree | 4f11519688445824a954d980c501390df62a8aad | |
parent | 3904cf41043b51cc659826356d7526c329dbc879 [diff] |
pimgen: Rename interfaces to extra_interfaces.d Draw attention to the intent is that other packages install files here. Additionally these are 'extra' in that they are above and beyond the standard OpenBMC interfaces that will eventually be provided by a shared library. Change-Id: I8e50d39a1004ff24b1ea7de63e6534447c05a9d3 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