Home
last modified time | relevance | path

Searched refs:reportingType (Results 1 – 12 of 12) sorted by relevance

/openbmc/telemetry/src/
H A Dreport_manager.cpp49 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 Dreport.cpp34 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 Dreport_manager.hpp48 const ReportingType reportingType, Milliseconds interval,
53 const std::string& reportName, const ReportingType reportingType,
59 const ReportingType reportingType,
H A Dreport.hpp59 const ReportingType reportingType,
116 ReportingType reportingType; member in Report
H A Dreport_factory.cpp20 const ReportingType reportingType, in make() argument
43 bus->get_io_context(), objServer, id, name, reportingType, in make()
H A Dreport_factory.hpp34 const ReportingType reportingType,
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp48 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 Dtest_report_manager.cpp80 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 Dreport_params.hpp35 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 Dmetric_report_definition.hpp280 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 Dreport_factory.hpp40 const ReportingType reportingType,
/openbmc/telemetry/tests/src/mocks/
H A Dreport_factory_mock.hpp81 params.reportingType(), params.reportActions(), in expectMake()