diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2018-05-03 10:55:11 -0500 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2018-05-03 16:56:43 -0500 |
commit | 33618bc1845e5e7c4e12a2d2ed7f1c47a6a03de1 (patch) | |
tree | 261917d3c3e836c080cd506ce6eb39bc25643b66 /configure.ac | |
parent | 81748b1425e453b6a815a7b8ed2fa861d3068ac7 (diff) | |
download | phosphor-fan-presence-33618bc1845e5e7c4e12a2d2ed7f1c47a6a03de1.tar.gz phosphor-fan-presence-33618bc1845e5e7c4e12a2d2ed7f1c47a6a03de1.zip |
Add generation of propertiesMatch condition
Update the mako template to generate conditions within the FanDefinition
sections when a condition is defined for a fan. Each supported condition
function's parameters are generated within a `getCondParams` mako
method, allowing easy support of additional conditions with differing
parameters.
Tested:
A given condition's function and parameters generate correctly
No condition function is generated on a fan where not defined
Resolves: openbmc/openbmc#2976
Change-Id: I3f0b30702fdcef6749929d85543270863eb26381
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions