Home
last modified time | relevance | path

Searched refs:errorsToMonitor (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-state-manager/
H A Dsystemd_target_parser.cpp9 assert(errorsToMonitor.size()); in validateErrorsToMonitor()
13 for (const auto& errorToMonitor : errorsToMonitor) in validateErrorsToMonitor()
23 std::find(errorsToMonitor.begin(), errorsToMonitor.end(), "default"); in validateErrorsToMonitor()
24 if (errorItr != errorsToMonitor.end()) in validateErrorsToMonitor()
27 if (errorsToMonitor.size() != 1) in validateErrorsToMonitor()
33 errorsToMonitor.erase(errorItr); in validateErrorsToMonitor()
34 errorsToMonitor.emplace_back("timeout"); in validateErrorsToMonitor()
35 errorsToMonitor.emplace_back("failed"); in validateErrorsToMonitor()
36 errorsToMonitor.emplace_back("dependency"); in validateErrorsToMonitor()
64 entry.errorsToMonitor = in parseFiles()
[all …]
H A Dsystemd_target_signal.cpp85 if (std::find(targetEntry->second.errorsToMonitor.begin(), in processError()
86 targetEntry->second.errorsToMonitor.end(), result) != in processError()
87 targetEntry->second.errorsToMonitor.end()) in processError()
H A Dsystemd_target_parser.hpp13 std::vector<std::string> errorsToMonitor; member
H A Dsystemd_target_monitor.cpp23 for (const auto& eToMonitor : value.errorsToMonitor) in dump_targets()
/openbmc/phosphor-state-manager/test/
H A Dsystemd_parser.cpp21 "errorsToMonitor": ["default"], in TEST()
24 "errorsToMonitor": ["timeout", "failed"], in TEST()
34 "errorsToMonitor": ["default"], in TEST()
37 "errorsToMonitor": ["dependency"], in TEST()
66 EXPECT_EQ(tgt.errorsToMonitor.size(), 2); in TEST()
69 EXPECT_EQ(tgt.errorsToMonitor.size(), 3); in TEST()
81 "errorsToMonitor": ["timeout", "invalid"], in TEST()
/openbmc/docs/designs/
H A Dtarget-fail-monitoring.md116 "errorsToMonitor": ["default"],
121 "errorsToMonitor": ["timeout", "failed"],