Home
last modified time | relevance | path

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

/openbmc/telemetry/src/
H A Dreport_manager.cpp61 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 Dreport.cpp41 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 Dreport_manager.hpp48 const ReportingType reportingType, Milliseconds interval,
53 const std::string& reportName, const ReportingType reportingType,
59 const ReportingType reportingType,
H A Dreport.hpp63 const ReportingType reportingType,
120 ReportingType reportingType; member in Report
H A Dreport_factory.hpp34 const ReportingType reportingType,
H A Dreport_factory.cpp20 const ReportingType reportingType, in make() argument
43 bus->get_io_context(), objServer, id, name, reportingType, in make()
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp55 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 Dtest_report_manager.cpp89 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 Dreport_params.hpp35 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 Dreport_factory.hpp40 const ReportingType reportingType,
/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 = 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 Dreport_factory_mock.hpp81 params.reportingType(), params.reportActions(), in expectMake()