commit | 75800cfb6e9676b620185b741383f886907fe02e | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Sat Jan 21 15:24:18 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jan 24 14:39:00 2017 -0500 |
tree | b6e3d90ee75722f857ed08a02ce887990fe8cb4e | |
parent | 9b5a12fd5bcc1f8e1dc1474f824a2ce1b6a68e51 [diff] |
pimgen: Argument refactoring Rename the existing argument type to TrivialArgument to prepare for additional argument types. Remove inheritance of sdbusplus.property. Define an argument interface base type. Inherit argument interface from DBusSignature, and move it up by other argument types. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I3fa2b8794838fd0b0b484e618a477de208ead2d9
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. Examples 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:
filters
Supported filter tags are:
The available filters provided by PIM are:
propertyChangedTo
Supported arguments for the propertyChangedTo filter are:
actions
Supported action tags are:
The available actions provided by PIM are:
destroyObject
Supported arguments for the destroyObject action are:
setProperty
Supported arguments for the setProperty action 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