commit | 4f20a3e3ccbfb8b08de0bdac96c037d81546c573 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 29 15:21:46 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jan 11 12:17:01 2017 -0500 |
tree | 661d770858a4a633b58fca38eda8f01888868409 | |
parent | 370421bef4e395577233f55180bf6655d9cd2303 [diff] |
Add event framework Introduce the concept of events, where the existing Dbus signal match event is one of many possible event classes. Change-Id: I9b0c6ca12daaa109f8ceb537a5fb0cc6b5f7181b 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