commit | 14a9fe5e15c588e82efa002faaac8d38a087b779 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Nov 12 12:51:26 2016 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Nov 21 11:28:33 2016 -0500 |
tree | 5c873e10bc94d87f306a9c80d1eefa28d50bc0cc | |
parent | f4666f595797910fec3c8b314d1219215e425f6d [diff] |
pimgen: Add list-interfaces command option list-interfaces simply prints out all the interfaces found in interfaces.d. This intended user is configure. Change-Id: I5e2c6b59ae4addb04f2e82b084122a948e46d29f 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