commit | 67b788dcbdd960d665e632b4a97e5dea0c97f456 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Nov 29 13:09:01 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Dec 15 10:55:38 2016 -0500 |
tree | 7c461f00d90a1a451cff6977c851affadd9cf5f7 | |
parent | 9007432a86723dd6542dc3ee1289598537d916e1 [diff] |
Move filters.hpp to events.hpp Prepare for a more generalized event description framework enabling event classes other than DBus signal matches. Filters become a sub-concept within that framework so rename the file. Change-Id: I0be9f9997239aad6e798ca16055aedc3e1233994 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