Home
last modified time | relevance | path

Searched refs:triggerId (Results 1 – 23 of 23) sorted by relevance

/openbmc/telemetry/src/
H A Dtrigger_actions.cpp48 const std::string& triggerId, const ThresholdName thresholdNameInIn, in commit() argument
58 "' of trigger '" + triggerId + "' is crossed on sensor " + sensorName + in commit()
104 const std::string& triggerId, const ThresholdName thresholdNameInIn, in commit() argument
118 triggerId.c_str())); in commit()
127 triggerId.c_str())); in commit()
170 const std::string& triggerId, const ThresholdName thresholdNameIn, in commit() argument
178 triggerId + "' is met on sensor " + sensorName + in commit()
187 const std::string& triggerId, const ThresholdName thresholdNameIn, in commit() argument
200 triggerId.c_str())); in commit()
239 const std::string& triggerId, const ThresholdName thresholdNameIn, in commit() argument
[all …]
H A Dtrigger_factory.cpp25 const std::string& triggerId, in updateDiscreteThresholds() argument
62 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds()
70 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds()
82 makeOnChangeThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds()
91 const std::string& triggerId, in updateNumericThresholds() argument
118 makeNumericThreshold(newThresholds, triggerId, triggerActions, in updateNumericThresholds()
126 const std::string& triggerId, in updateThresholds() argument
137 updateDiscreteThresholds(currentThresholds, triggerId, triggerActions, in updateThresholds()
146 updateNumericThresholds(currentThresholds, triggerId, triggerActions, in updateThresholds()
154 const std::string& triggerId, in makeDiscreteThreshold() argument
[all …]
H A Dtrigger_actions.hpp39 void commit(const std::string& triggerId, const ThresholdName thresholdName,
55 void commit(const std::string& triggerId, const ThresholdName thresholdName,
80 void commit(const std::string& triggerId, const ThresholdName thresholdName,
93 void commit(const std::string& triggerId, const ThresholdName thresholdName,
111 void commit(const std::string& triggerId, const ThresholdName thresholdName,
121 void commit(const std::string& triggerId, const ThresholdName thresholdName,
142 void commit(const std::string& triggerId, const ThresholdName thresholdName,
H A Dtrigger_factory.hpp37 const std::string& triggerId,
61 const std::string& triggerId,
69 const std::string& triggerId,
77 const std::string& triggerId,
85 const std::string& triggerId,
93 const std::string& triggerId,
H A Don_change_threshold.hpp23 const std::string& triggerId, Sensors sensors,
35 const std::string& triggerId; member in OnChangeThreshold
H A Don_change_threshold.cpp9 triggerId(triggerIdIn), sensors(std::move(sensorsIn)), in OnChangeThreshold()
71 action->commit(triggerId, std::nullopt, sensorName, timestamp, value); in commit()
H A Dnumeric_threshold.hpp26 boost::asio::io_context& ioc, const std::string& triggerId,
42 const std::string& triggerId; member in NumericThreshold
H A Ddiscrete_threshold.hpp26 boost::asio::io_context& ioc, const std::string& triggerId,
42 const std::string& triggerId; member in DiscreteThreshold
H A Dreport.cpp83 triggerIds.insert(msg.triggerId); in Report()
87 triggerIds.erase(msg.triggerId); in Report()
92 triggerIds.erase(msg.triggerId); in Report()
360 triggerIds, [](const auto& triggerId) { in makeReportInterface() argument
362 triggerId); in makeReportInterface()
543 result.insert(msg.triggerId); in collectTriggerIds()
H A Ddiscrete_threshold.cpp15 ioc(ioc), triggerId(triggerIdIn), actions(std::move(actionsIn)), in DiscreteThreshold()
101 action->commit(triggerId, std::cref(name), sensorName, timestamp, in commit()
H A Dnumeric_threshold.cpp12 ioc(ioc), triggerId(triggerIdIn), actions(std::move(actionsIn)), in NumericThreshold()
125 action->commit(triggerId, std::nullopt, sensorName, timestamp, value); in commit()
H A Dtrigger_manager.hpp44 const std::string& triggerId, const std::string& triggerName,
/openbmc/telemetry/tests/src/
H A Dtest_on_change_threshold.cpp25 std::string triggerId = "MyTrigger"; member in TestOnChangeThreshold
41 triggerId, in SetUp()
143 commit(triggerId, Eq(std::nullopt), sensorNames[index], _, in TEST_P()
H A Dtest_discrete_threshold.cpp26 std::string triggerId = "MyTrigger"; member in TestDiscreteThreshold
39 DbusEnvironment::getIoc(), triggerId, in makeThreshold()
228 commit(triggerId, Optional(StrEq("treshold name")), in testBodySensorIsUpdatedMultipleTimes()
H A Dtest_trigger_actions.cpp281 sut->commit(triggerId, std::nullopt, "MySensor", Milliseconds{100'000}, in commit()
288 std::string triggerId = "MyTrigger"; member in action::TestUpdateReport
H A Dtest_numeric_threshold.cpp25 std::string triggerId = "MyTrigger"; member in TestNumericThreshold
37 DbusEnvironment::getIoc(), triggerId, in makeThreshold()
204 commit(triggerId, Eq(std::nullopt), sensorNames[index], in testBodySensorIsUpdatedMultipleTimes()
H A Dtest_report.cpp1235 for (const auto& triggerId : {"trigger1", "trigger2"}) in TEST_F()
1238 [this, triggerId](const auto& msg) { in TEST_F()
1239 messanger.send(messages::CollectTriggerIdResp{triggerId}); in TEST_F()
/openbmc/telemetry/src/messages/
H A Dcollect_trigger_id.hpp15 std::string triggerId; member
H A Dtrigger_presence_changed_ind.hpp14 std::string triggerId; member
/openbmc/telemetry/src/interfaces/
H A Dtrigger_action.hpp17 virtual void commit(const std::string& triggerId,
H A Dtrigger_factory.hpp43 const std::string& triggerId,
/openbmc/telemetry/tests/src/mocks/
H A Dtrigger_factory_mock.hpp45 const std::string& triggerId,
/openbmc/bmcweb/redfish-core/lib/
H A Dtrigger.hpp718 const std::optional<std::string>& triggerId = in afterCreateTrigger() local
720 if (!triggerId) in afterCreateTrigger()
730 "/redfish/v1/TelemetryService/Triggers/{}", *triggerId); in afterCreateTrigger()