Home
last modified time | relevance | path

Searched refs:triggerActions (Results 1 – 13 of 13) sorted by relevance

/openbmc/telemetry/src/
H A Dtrigger_factory.cpp26 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 Dtrigger_factory.hpp21 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 Dtrigger_manager.cpp31 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 Dtrigger.cpp27 name(nameIn), triggerActions(std::move(triggerActionsIn)), in Trigger()
82 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402()
111 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402()
191 return utils::transform(triggerActions, in __anon5e4599b80402()
230 utils::transform(triggerActions, [](const auto& action) { in storeConfiguration()
H A Dtrigger.hpp23 const std::vector<TriggerAction>& triggerActions,
57 std::vector<TriggerAction> triggerActions; member in Trigger
H A Dtrigger_manager.hpp46 const std::vector<std::string>& triggerActions,
/openbmc/telemetry/tests/src/mocks/
H A Dtrigger_factory_mock.hpp27 const std::vector<std::string>& triggerActions,
46 const std::vector<TriggerAction>& triggerActions,
76 utils::transform(params.triggerActions(), in expectMake()
/openbmc/telemetry/src/interfaces/
H A Dtrigger_factory.hpp27 const std::vector<std::string>& triggerActions,
44 const std::vector<::TriggerAction>& triggerActions,
/openbmc/bmcweb/redfish-core/lib/
H A Dtrigger.hpp603 std::optional<std::vector<std::string>> triggerActions; in parsePostTriggerParams() local
622 "TriggerActions", triggerActions // in parsePostTriggerParams()
652 if (triggerActions) in parsePostTriggerParams()
654 ctx.actions.reserve(triggerActions->size()); in parsePostTriggerParams()
655 for (const std::string& action : *triggerActions) in parsePostTriggerParams()
728 nlohmann::json::array_t triggerActions; in getTriggerActions() local
739 triggerActions.emplace_back(redfishAction); in getTriggerActions()
742 return triggerActions; in getTriggerActions()
839 const std::vector<std::string>* triggerActions = nullptr; in fillTrigger() local
847 triggerActions, "DiscreteThresholds", discreteThresholds, in fillTrigger()
[all …]
/openbmc/telemetry/tests/src/params/
H A Dtrigger_params.hpp49 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 Dmanager.cpp841 TriggerActions triggerActions; in addParameterTrigger() local
843 [&triggerActions](auto& action) { in addParameterTrigger()
844 triggerActions.emplace_back(std::ref(action)); in addParameterTrigger()
846 _parameterTriggers[name] = std::move(triggerActions); in addParameterTrigger()
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp88 std::move(id), params.name(), params.triggerActions(), in makeTrigger()
158 triggerParams.triggerActions(), in TEST_F()
549 Eq(utils::transform(triggerParams.triggerActions(), in TEST_F()
H A Dtest_trigger_manager.cpp46 utils::transform(params.triggerActions(), in addTrigger()
475 {"TriggerActions", utils::transform(TriggerParams().triggerActions(),