/openbmc/telemetry/src/ |
H A D | trigger_factory.cpp | 26 const std::vector<TriggerAction>& triggerActions, in updateDiscreteThresholds() argument 62 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 70 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 82 makeOnChangeThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 92 const std::vector<TriggerAction>& triggerActions, in updateNumericThresholds() argument 118 makeNumericThreshold(newThresholds, triggerId, triggerActions, in updateNumericThresholds() 127 const std::vector<TriggerAction>& triggerActions, in updateThresholds() argument 137 updateDiscreteThresholds(currentThresholds, triggerId, triggerActions, in updateThresholds() 146 updateNumericThresholds(currentThresholds, triggerId, triggerActions, in updateThresholds() 155 const std::vector<TriggerAction>& triggerActions, in makeDiscreteThreshold() argument [all …]
|
H A D | trigger_factory.hpp | 21 const std::vector<std::string>& triggerActions, 38 const std::vector<TriggerAction>& triggerActions, 62 const std::vector<TriggerAction>& triggerActions, 70 const std::vector<TriggerAction>& triggerActions, 78 const std::vector<TriggerAction>& triggerActions, 86 const std::vector<TriggerAction>& triggerActions, 94 const std::vector<TriggerAction>& triggerActions,
|
H A D | trigger_manager.cpp | 31 const std::vector<std::string>& triggerActions, in TriggerManager() 59 return addTrigger(id, name, triggerActions, in TriggerManager() 126 const std::vector<std::string>& triggerActions, in addTrigger() argument 140 id, name, triggerActions, reportIds, *this, *triggerStorage, in addTrigger() 169 const std::vector<std::string> triggerActions = in loadFromPersistent() local 192 addTrigger(id, name, triggerActions, labeledSensorsInfo, reportIds, in loadFromPersistent()
|
H A D | trigger.cpp | 27 name(nameIn), triggerActions(std::move(triggerActionsIn)), in Trigger() 80 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402() 99 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402() 128 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402() 208 return utils::transform(triggerActions, in __anon5e4599b80402() 247 utils::transform(triggerActions, [](const auto& action) { in storeConfiguration()
|
H A D | trigger.hpp | 23 const std::vector<TriggerAction>& triggerActions, 56 std::vector<TriggerAction> triggerActions; member in Trigger
|
H A D | trigger_manager.hpp | 45 const std::vector<std::string>& triggerActions,
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | trigger_factory_mock.hpp | 27 const std::vector<std::string>& triggerActions, 46 const std::vector<TriggerAction>& triggerActions, 76 utils::transform(params.triggerActions(), in expectMake()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | trigger.hpp | 612 std::optional<std::vector<std::string>> triggerActions; in parsePostTriggerParams() local 631 "TriggerActions", triggerActions // in parsePostTriggerParams() 661 if (triggerActions) in parsePostTriggerParams() 663 ctx.actions.reserve(triggerActions->size()); in parsePostTriggerParams() 664 for (const std::string& action : *triggerActions) in parsePostTriggerParams() 737 nlohmann::json::array_t triggerActions; in getTriggerActions() local 748 triggerActions.emplace_back(redfishAction); in getTriggerActions() 751 return triggerActions; in getTriggerActions() 848 const std::vector<std::string>* triggerActions = nullptr; in fillTrigger() local 856 triggerActions, "DiscreteThresholds", discreteThresholds, in fillTrigger() [all …]
|
/openbmc/telemetry/src/interfaces/ |
H A D | trigger_factory.hpp | 27 const std::vector<std::string>& triggerActions, 44 const std::vector<::TriggerAction>& triggerActions,
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 49 TriggerParams& triggerActions(const std::vector<TriggerAction>& val) in triggerActions() function in TriggerParams 55 const std::vector<TriggerAction>& triggerActions() const in triggerActions() function in TriggerParams
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | manager.cpp | 843 TriggerActions triggerActions; in addParameterTrigger() local 845 [&triggerActions](auto& action) { in addParameterTrigger() 846 triggerActions.emplace_back(std::ref(action)); in addParameterTrigger() 848 _parameterTriggers[name] = std::move(triggerActions); in addParameterTrigger()
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger.cpp | 88 std::move(id), params.name(), params.triggerActions(), in makeTrigger() 158 triggerParams.triggerActions(), in TEST_F() 520 Eq(utils::transform(triggerParams.triggerActions(), in TEST_F()
|
H A D | test_trigger_manager.cpp | 46 utils::transform(params.triggerActions(), in addTrigger() 475 {"TriggerActions", utils::transform(TriggerParams().triggerActions(),
|