| /openbmc/telemetry/src/ |
| H A D | report_manager.cpp | 61 std::string reportName, std::string reportingType, in ReportManager() 66 if (reportingType.empty()) in ReportManager() 68 reportingType = in ReportManager() 89 utils::toReportingType(reportingType), in ReportManager() 114 const ReportingType reportingType, Milliseconds interval, in verifyAddReport() argument 133 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport() 134 (reportingType != ReportingType::periodic && in verifyAddReport() 151 const std::string& reportName, const ReportingType reportingType, in addReport() argument 159 return addReport(reportId, reportName, reportingType, reportActions, in addReport() 166 const ReportingType reportingType, in addReport() argument [all …]
|
| H A D | report.cpp | 41 name(reportName), reportingType(reportingTypeIn), interval(intervalIn), in Report() 46 deduceBufferSize(reportUpdates, reportingType)), in Report() 78 auto errorMessages = verify(reportingType, interval); in Report() 184 deduceBufferSize(newReportUpdates, reportingType); in setReadingBuffer() 221 ReportingType newReportingTypeT = reportingType; in makeReportInterface() 247 if (reportingType != newReportingTypeT) in makeReportInterface() 249 reportingType = newReportingTypeT; in makeReportInterface() 303 [this](const auto&) { return utils::enumToString(reportingType); }); in makeReportInterface() 388 if (reportingType == ReportingType::onRequest) in makeReportInterface() 468 reportingType == ReportingType::onRequest) in updateReadings() [all …]
|
| H A D | report_manager.hpp | 48 const ReportingType reportingType, Milliseconds interval, 53 const std::string& reportName, const ReportingType reportingType, 59 const ReportingType reportingType,
|
| H A D | report.hpp | 63 const ReportingType reportingType, 120 ReportingType reportingType; member in Report
|
| H A D | report_factory.hpp | 34 const ReportingType reportingType,
|
| H A D | report_factory.cpp | 20 const ReportingType reportingType, in make() argument 43 bus->get_io_context(), objServer, id, name, reportingType, in make()
|
| /openbmc/telemetry/tests/src/ |
| H A D | test_report.cpp | 55 return defaultParams().reportingType(ReportingType::onChange); in defaultOnChangeParams() 146 params.reportId(), params.reportName(), params.reportingType(), in makeReport() 263 Eq(utils::enumToString(defaultParams().reportingType()))); in TEST_F() 500 .reportingType(ReportingType::onRequest) in TEST_F() 519 .reportingType(ReportingType::onRequest) in TEST_F() 536 .reportingType(ReportingType::onRequest) in TEST_F() 699 nlohmann::json(defaultParams().reportingType())), 819 Values(defaultParams().reportingType(ReportingType::onRequest), 820 defaultParams().reportingType(ReportingType::onChange), 822 .reportingType(ReportingType::periodic) [all …]
|
| H A D | test_report_manager.cpp | 89 utils::enumToString(params.reportingType()), in addReport() 180 .expectMake(reportParams.reportingType(ReportingType::onChange), in TEST_F() 341 reportParams.reportingType(ReportingType::periodic); in TEST_F() 574 {"ReportingType", utils::toUnderlying(reportParams.reportingType())},
|
| /openbmc/telemetry/tests/src/params/ |
| H A D | report_params.hpp | 35 ReportParams& reportingType(const ReportingType val) in reportingType() function in ReportParams 41 ReportingType reportingType() const in reportingType() function in ReportParams
|
| /openbmc/telemetry/src/interfaces/ |
| H A D | report_factory.hpp | 40 const ReportingType reportingType,
|
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | metric_report_definition.hpp | 280 std::string reportingType; in fillReportDefinition() local 290 reportingType, "Interval", interval, "ReportActions", reportActions, in fillReportDefinition() 302 toRedfishReportingType(reportingType); in fillReportDefinition() 427 std::string reportingType; member 603 args.reportingType = std::move(dbusReportingType); in getUserParameters() 845 "TelemetryService/" + args.id, args.name, args.reportingType, in performAddReport() 1055 const std::optional<std::string>& reportingType, in setReportTypeAndInterval() argument 1059 if (reportingType) in setReportTypeAndInterval() 1061 dbusReportingType = toDbusReportingType(*reportingType); in setReportTypeAndInterval() 1064 messages::propertyValueNotInList(asyncResp->res, *reportingType, in setReportTypeAndInterval()
|
| /openbmc/telemetry/tests/src/mocks/ |
| H A D | report_factory_mock.hpp | 81 params.reportingType(), params.reportActions(), in expectMake()
|