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()
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 Dtrigger.hpp23 const std::vector<TriggerAction>& triggerActions,
56 std::vector<TriggerAction> triggerActions; member in Trigger
H A Dtrigger_manager.hpp45 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/bmcweb/redfish-core/lib/
H A Dtrigger.hpp612 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 Dtrigger_factory.hpp27 const std::vector<std::string>& triggerActions,
44 const std::vector<::TriggerAction>& triggerActions,
/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.cpp843 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 Dtest_trigger.cpp88 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 Dtest_trigger_manager.cpp46 utils::transform(params.triggerActions(), in addTrigger()
475 {"TriggerActions", utils::transform(TriggerParams().triggerActions(),