Revision Date Author Comments
# fbf4703f 17-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

use std::format instead of fmt::format

The std::format is sufficient for the uses in this repository except
for in one file (override_fan_target.cpp, since P2286 isn't supported
by GCC yet). Switch

use std::format instead of fmt::format

The std::format is sufficient for the uses in this repository except
for in one file (override_fan_target.cpp, since P2286 isn't supported
by GCC yet). Switch to std::format whenever possible.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib2576fb530a4d7ce238e1b0bd95b40b476ec2107

show more ...


# 274f281b 13-Apr-2022 Matt Spinler <spinler@us.ibm.com>

control: count_state_target: Use default name

This action can just use the getUniqueName() from the base class to give
a more meaningful key name when shown in a dump:

"target_holds": {
"count_

control: count_state_target: Use default name

This action can just use the getUniqueName() from the base class to give
a more meaningful key name when shown in a dump:

"target_holds": {
"count_state_before_target-1(fan rotor(s) faulted)": 11300
}

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

show more ...


# 5368011e 23-Sep-2021 Matthew Barth <msbarth@us.ibm.com>

control: Associate identifier with target holds

Create a zone method that associates a unique identifier to a target
hold so that if more than one hold exists, the highest target is always
used betw

control: Associate identifier with target holds

Create a zone method that associates a unique identifier to a target
hold so that if more than one hold exists, the highest target is always
used between all actions that could have set a target hold on the zone.

Change-Id: I7699769a2e271c8a63a0a0a05aef6b0888ce180a
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


# 82a7d0b8 26-Aug-2021 Matthew Barth <msbarth@us.ibm.com>

control: CountStateTarget action use unique identifier

Each instance of the CountStateTarget action needs to use a unique
identifier when setting a zone's active fan control allowed state. This
ensu

control: CountStateTarget action use unique identifier

Each instance of the CountStateTarget action needs to use a unique
identifier when setting a zone's active fan control allowed state. This
ensures that when more than one event is configured with the
CountStateTarget action against the same group, their active fan control
allowed states wont conflict.

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ie515119c697f6f1819beb26aa9d2b16ed171b571

show more ...


# bab94f29 24-Aug-2021 Matthew Barth <msbarth@us.ibm.com>

control: Replace 'speed' with 'target' in CountStateTarget class

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: Ia1515a7bbbffb2a0f0ba54c4a834df290e8eba49


# 6d2476c9 08-Apr-2021 Matthew Barth <msbarth@us.ibm.com>

control: Actions use list of groups set on base object

Remove the reference to a group given when running an action and instead
have each action iterate over the list of groups configured/set on the

control: Actions use list of groups set on base object

Remove the reference to a group given when running an action and instead
have each action iterate over the list of groups configured/set on the
base action object. The group configured/set on the base action object
is the only set of groups that the action should use based on its
configuration in an event.

Change-Id: Ia298d270e782ad729b5a29f9cdfe9b6c9ea4bc45
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


# 19c77494 08-Apr-2021 Matthew Barth <msbarth@us.ibm.com>

control: Update base action object with zones and groups used

The base action object stores the groups and zones configured for an
action to use and run against. When a trigger fires, it will run th

control: Update base action object with zones and groups used

The base action object stores the groups and zones configured for an
action to use and run against. When a trigger fires, it will run the
action against each zone configured. Each action will have its list of
groups to use that it can iterate over appropriately. This will be
updated in the next commit to no longer pass a reference to a group when
running an action and to have each action iterate over the groups
configured for them to use.

Change-Id: Ifcd1a260e38af87c5f3bb2a3d44813e71743abc6
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


# 89c2fa14 04-Feb-2021 Matthew Barth <msbarth@us.ibm.com>

control: Add count state set target action

Add the YAML based count_state_before_speed action function as an action
class for JSON configs to use.

Change-Id: Ibfb54190728ebcd22229fe665dae864666054d

control: Add count state set target action

Add the YAML based count_state_before_speed action function as an action
class for JSON configs to use.

Change-Id: Ibfb54190728ebcd22229fe665dae864666054d9d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...