/openbmc/telemetry/src/ |
H A D | trigger_actions.cpp | 48 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 D | trigger_factory.cpp | 25 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 D | trigger_actions.hpp | 39 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 D | trigger_factory.hpp | 37 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 D | on_change_threshold.hpp | 23 const std::string& triggerId, Sensors sensors, 35 const std::string& triggerId; member in OnChangeThreshold
|
H A D | on_change_threshold.cpp | 9 triggerId(triggerIdIn), sensors(std::move(sensorsIn)), in OnChangeThreshold() 71 action->commit(triggerId, std::nullopt, sensorName, timestamp, value); in commit()
|
H A D | numeric_threshold.hpp | 26 boost::asio::io_context& ioc, const std::string& triggerId, 42 const std::string& triggerId; member in NumericThreshold
|
H A D | discrete_threshold.hpp | 26 boost::asio::io_context& ioc, const std::string& triggerId, 42 const std::string& triggerId; member in DiscreteThreshold
|
H A D | report.cpp | 83 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 D | discrete_threshold.cpp | 15 ioc(ioc), triggerId(triggerIdIn), actions(std::move(actionsIn)), in DiscreteThreshold() 101 action->commit(triggerId, std::cref(name), sensorName, timestamp, in commit()
|
H A D | numeric_threshold.cpp | 12 ioc(ioc), triggerId(triggerIdIn), actions(std::move(actionsIn)), in NumericThreshold() 125 action->commit(triggerId, std::nullopt, sensorName, timestamp, value); in commit()
|
H A D | trigger_manager.hpp | 44 const std::string& triggerId, const std::string& triggerName,
|
/openbmc/telemetry/tests/src/ |
H A D | test_on_change_threshold.cpp | 25 std::string triggerId = "MyTrigger"; member in TestOnChangeThreshold 41 triggerId, in SetUp() 143 commit(triggerId, Eq(std::nullopt), sensorNames[index], _, in TEST_P()
|
H A D | test_discrete_threshold.cpp | 26 std::string triggerId = "MyTrigger"; member in TestDiscreteThreshold 39 DbusEnvironment::getIoc(), triggerId, in makeThreshold() 228 commit(triggerId, Optional(StrEq("treshold name")), in testBodySensorIsUpdatedMultipleTimes()
|
H A D | test_trigger_actions.cpp | 281 sut->commit(triggerId, std::nullopt, "MySensor", Milliseconds{100'000}, in commit() 288 std::string triggerId = "MyTrigger"; member in action::TestUpdateReport
|
H A D | test_numeric_threshold.cpp | 25 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 D | test_report.cpp | 1235 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 D | collect_trigger_id.hpp | 15 std::string triggerId; member
|
H A D | trigger_presence_changed_ind.hpp | 14 std::string triggerId; member
|
/openbmc/telemetry/src/interfaces/ |
H A D | trigger_action.hpp | 17 virtual void commit(const std::string& triggerId,
|
H A D | trigger_factory.hpp | 43 const std::string& triggerId,
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | trigger_factory_mock.hpp | 45 const std::string& triggerId,
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | trigger.hpp | 718 const std::optional<std::string>& triggerId = in afterCreateTrigger() local 720 if (!triggerId) in afterCreateTrigger() 730 "/redfish/v1/TelemetryService/Triggers/{}", *triggerId); in afterCreateTrigger()
|