Home
last modified time | relevance | path

Searched refs:triggerActions (Results 1 – 14 of 14) 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()
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
155 const std::vector<TriggerAction>& triggerActions, in makeDiscreteThreshold() argument
168 action::discrete::fillActions(actions, triggerActions, severity, in makeDiscreteThreshold()
180 const std::vector<TriggerAction>& triggerActions, in makeNumericThreshold() argument
203 const std::vector<TriggerAction>& triggerActions, in makeOnChangeThreshold() argument
209 action::discrete::onChange::fillActions(actions, triggerActions, in makeOnChangeThreshold()
[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.cpp30 const std::vector<std::string>& triggerActions, in TriggerManager()
45 return addTrigger(id, name, triggerActions, labeledSensorsInfo, in TriggerManager()
111 const std::vector<std::string>& triggerActions, in addTrigger() argument
125 id, name, triggerActions, reportIds, *this, *triggerStorage, in addTrigger()
154 const std::vector<std::string> triggerActions = in loadFromPersistent() local
177 addTrigger(id, name, triggerActions, labeledSensorsInfo, reportIds, in loadFromPersistent()
H A Dtrigger.cpp27 name(nameIn), triggerActions(std::move(triggerActionsIn)), in Trigger()
78 triggerFactory.updateThresholds(thresholds, *id, triggerActions, in __anon5e4599b80402()
142 return utils::transform(triggerActions, [](const auto& action) { in __anon5e4599b80402()
180 triggerActions, 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/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.hpp600 std::optional<std::vector<std::string>> triggerActions; in parsePostTriggerParams() local
619 "TriggerActions", triggerActions // in parsePostTriggerParams()
649 if (triggerActions) in parsePostTriggerParams()
651 ctx.actions.reserve(triggerActions->size()); in parsePostTriggerParams()
652 for (const std::string& action : *triggerActions) in parsePostTriggerParams()
725 nlohmann::json::array_t triggerActions; in getTriggerActions() local
736 triggerActions.emplace_back(redfishAction); in getTriggerActions()
739 return triggerActions; in getTriggerActions()
859 triggerActions, "Thresholds", thresholds); in fillTrigger()
866 if (triggerActions != nullptr) 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-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DTriggerManager.interface.yaml23 - name: triggerActions
39 conditions are met. This parameter is ignored if triggerActions
/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()
514 Eq(utils::transform(triggerParams.triggerActions(), in TEST_F()
H A Dtest_trigger_manager.cpp39 params.triggerActions(), in addTrigger()
468 {"TriggerActions", utils::transform(TriggerParams().triggerActions(),