Home
last modified time | relevance | path

Searched hist:"76 ef2013" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dmapped_floor.hpp76ef2013 Thu Feb 03 16:11:38 CST 2022 Matt Spinler <spinler@us.ibm.com> control: mapped_floor: Add default floors

Add support for two optional default floor values in the mapped floor
action. The first is action wide, and the second is key value wide.
These would be chosen in certain situations when a normal floor can't be
calculated.

Default floor at action level:
{
"name": "mapped_floor",
"key_group": "ambient_temp",
"default_floor": 2000, <---
...
}

Default floor at key value level:
{
"key": 27,
"default_floor": 3000, <---
"floors": [
...
]
}

The key level default floor would be selected when no other floor value
could be found within that that key's tables.

The action level default floor would be used when a key table couldn't
be found based on the actual key value, or when a key level default
floor would have been used but it wasn't supplied.

The default floor from the zone will be used when no other default floor
is provided at the key level or action level.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I740220a97477e9a4fb16cdc54c91f86c99c8b461
H A Dmapped_floor.cpp76ef2013 Thu Feb 03 16:11:38 CST 2022 Matt Spinler <spinler@us.ibm.com> control: mapped_floor: Add default floors

Add support for two optional default floor values in the mapped floor
action. The first is action wide, and the second is key value wide.
These would be chosen in certain situations when a normal floor can't be
calculated.

Default floor at action level:
{
"name": "mapped_floor",
"key_group": "ambient_temp",
"default_floor": 2000, <---
...
}

Default floor at key value level:
{
"key": 27,
"default_floor": 3000, <---
"floors": [
...
]
}

The key level default floor would be selected when no other floor value
could be found within that that key's tables.

The action level default floor would be used when a key table couldn't
be found based on the actual key value, or when a key level default
floor would have been used but it wasn't supplied.

The default floor from the zone will be used when no other default floor
is provided at the key level or action level.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I740220a97477e9a4fb16cdc54c91f86c99c8b461