/openbmc/telemetry/src/ |
H A D | report_manager.cpp | 49 std::string reportName, std::string reportingType, in ReportManager() 54 if (reportingType.empty()) in ReportManager() 56 reportingType = in ReportManager() 77 utils::toReportingType(reportingType), in ReportManager() 102 const ReportingType reportingType, Milliseconds interval, in verifyAddReport() argument 121 if ((reportingType == ReportingType::periodic && interval < minInterval) || in verifyAddReport() 122 (reportingType != ReportingType::periodic && in verifyAddReport() 139 const std::string& reportName, const ReportingType reportingType, in addReport() argument 147 return addReport(reportId, reportName, reportingType, reportActions, in addReport() 154 const ReportingType reportingType, in addReport() argument [all …]
|
H A D | report.cpp | 34 name(reportName), reportingType(reportingTypeIn), interval(intervalIn), in Report() 39 deduceBufferSize(reportUpdates, reportingType)), in Report() 68 auto errorMessages = verify(reportingType, interval); in Report() 173 deduceBufferSize(newReportUpdates, reportingType); in setReadingBuffer() 209 ReportingType newReportingTypeT = reportingType; in makeReportInterface() 235 if (reportingType != newReportingTypeT) in makeReportInterface() 237 reportingType = newReportingTypeT; in makeReportInterface() 285 [this](const auto&) { return utils::enumToString(reportingType); }); in makeReportInterface() 366 if (reportingType == ReportingType::onRequest) in makeReportInterface() 446 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 | 59 const ReportingType reportingType, 116 ReportingType reportingType; member in Report
|
H A D | report_factory.cpp | 20 const ReportingType reportingType, in make() argument 43 bus->get_io_context(), objServer, id, name, reportingType, in make()
|
H A D | report_factory.hpp | 34 const ReportingType reportingType,
|
/openbmc/telemetry/tests/src/ |
H A D | test_report.cpp | 48 return defaultParams().reportingType(ReportingType::onChange); in defaultOnChangeParams() 139 params.reportId(), params.reportName(), params.reportingType(), in makeReport() 245 Eq(utils::enumToString(defaultParams().reportingType()))); in TEST_F() 452 .reportingType(ReportingType::onRequest) in TEST_F() 469 .reportingType(ReportingType::onRequest) in TEST_F() 484 .reportingType(ReportingType::onRequest) in TEST_F() 638 nlohmann::json(defaultParams().reportingType())), 756 Values(defaultParams().reportingType(ReportingType::onRequest), 757 defaultParams().reportingType(ReportingType::onChange), 759 .reportingType(ReportingType::periodic) [all …]
|
H A D | test_report_manager.cpp | 80 utils::enumToString(params.reportingType()), in addReport() 168 .expectMake(reportParams.reportingType(ReportingType::onChange), in TEST_F() 329 reportParams.reportingType(ReportingType::periodic); in TEST_F() 562 {"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/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 = dbusReportingType; in getUserParameters() 851 "TelemetryService/" + args.id, args.name, args.reportingType, in performAddReport() 1075 const std::optional<std::string>& reportingType, in setReportTypeAndInterval() argument 1079 if (reportingType) in setReportTypeAndInterval() 1081 dbusReportingType = toDbusReportingType(*reportingType); in setReportTypeAndInterval() 1084 messages::propertyValueNotInList(asyncResp->res, *reportingType, in setReportTypeAndInterval()
|
/openbmc/telemetry/src/interfaces/ |
H A D | report_factory.hpp | 40 const ReportingType reportingType,
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | report_factory_mock.hpp | 81 params.reportingType(), params.reportActions(), in expectMake()
|