Home
last modified time | relevance | path

Searched full:reportupdates (Results 1 – 22 of 22) sorted by relevance

/openbmc/telemetry/src/types/
H A Dreport_updates.hpp12 enum class ReportUpdates : uint32_t enum
23 struct EnumTraits<ReportUpdates>
25 static constexpr auto propertyName = ConstexprString{"ReportUpdates"};
29 std::make_pair<std::string_view, ReportUpdates>(
30 "xyz.openbmc_project.Telemetry.Report.ReportUpdates.Overwrite",
31 ReportUpdates::overwrite),
32 std::make_pair<std::string_view, ReportUpdates>(
33 "xyz.openbmc_project.Telemetry.Report.ReportUpdates."
35 ReportUpdates::appendStopsWhenFull),
36 std::make_pair<std::string_view, ReportUpdates>(
[all …]
/openbmc/telemetry/src/
H A Dreport_manager.cpp50 std::string reportUpdates, uint64_t appendLimit, in ReportManager()
60 if (reportUpdates.empty()) in ReportManager()
62 reportUpdates = in ReportManager()
63 utils::enumToString(ReportUpdates::overwrite); in ReportManager()
85 utils::toReportUpdates(reportUpdates), in ReportManager()
103 const ReportUpdates reportUpdates, const uint64_t appendLimit, in verifyAddReport() argument
141 const uint64_t appendLimit, const ReportUpdates reportUpdates, in addReport() argument
148 interval, appendLimit, reportUpdates, in addReport()
156 const uint64_t appendLimit, const ReportUpdates reportUpdates, in addReport() argument
166 verifyAddReport(id, name, reportingType, interval, reportUpdates, in addReport()
[all …]
H A Dreport.cpp27 const uint64_t appendLimitIn, const ReportUpdates reportUpdatesIn, in Report()
37 reportUpdates(reportUpdatesIn), readings(std::move(readingsIn)), in Report()
39 deduceBufferSize(reportUpdates, reportingType)), in Report()
156 uint64_t Report::deduceBufferSize(const ReportUpdates reportUpdatesIn, in deduceBufferSize()
159 if (reportUpdatesIn == ReportUpdates::overwrite || in deduceBufferSize()
170 void Report::setReadingBuffer(const ReportUpdates newReportUpdates) in setReadingBuffer()
180 void Report::setReportUpdates(const ReportUpdates newReportUpdates) in setReportUpdates()
182 if (reportUpdates != newReportUpdates) in setReportUpdates()
185 reportUpdates = newReportUpdates; in setReportUpdates()
255 setReadingBuffer(reportUpdates); in makeReportInterface()
[all …]
H A Dreport_manager.hpp49 const ReportUpdates reportUpdates, const uint64_t appendLimit,
55 const uint64_t appendLimit, const ReportUpdates reportUpdates,
61 const uint64_t appendLimit, const ReportUpdates reportUpdates,
H A Dreport.hpp61 const uint64_t appendLimitIn, const ReportUpdates reportUpdatesIn,
98 uint64_t deduceBufferSize(const ReportUpdates reportUpdatesIn,
100 void setReadingBuffer(const ReportUpdates newReportUpdates);
101 void setReportUpdates(const ReportUpdates newReportUpdates);
123 ReportUpdates reportUpdates; member in Report
H A Dreport_factory.cpp22 uint64_t appendLimit, const ReportUpdates reportUpdates, in make() argument
44 reportActions, period, appendLimit, reportUpdates, reportManager, in make()
H A Dreport_factory.hpp36 uint64_t appendLimitIn, const ReportUpdates reportUpdatesIn,
/openbmc/telemetry/tests/src/params/
H A Dreport_params.hpp90 ReportParams& reportUpdates(ReportUpdates val) in reportUpdates() function in ReportParams
96 ReportUpdates reportUpdates() const in reportUpdates() function in ReportParams
133 << ", ReportUpdates: \"" in PrintTo()
150 ReportUpdates reportUpdatesProperty = ReportUpdates::overwrite;
/openbmc/telemetry/tests/src/
H A Dtest_report.cpp141 params.reportUpdates(), *reportManagerMock, storageMock, in makeReport()
246 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "ReportUpdates"), in TEST_F()
247 Eq(utils::enumToString(defaultParams().reportUpdates()))); in TEST_F()
969 .reportUpdates(ReportUpdates::appendWrapsWhenFull)
979 .reportUpdates(ReportUpdates::appendWrapsWhenFull)
988 .reportUpdates(ReportUpdates::appendWrapsWhenFull)
993 .reportUpdates(ReportUpdates::appendStopsWhenFull)
1006 .reportUpdates(ReportUpdates::appendStopsWhenFull)
1016 .reportUpdates(ReportUpdates::appendStopsWhenFull)
1025 .reportUpdates(ReportUpdates::appendStopsWhenFull)
[all …]
H A Dtest_report_manager.cpp81 utils::enumToString(params.reportUpdates()), params.appendLimit(), in addReport()
151 ReportUpdates::overwrite, _, _, in TEST_F()
565 {"ReportUpdates", utils::toUnderlying(reportParams.reportUpdates())},
/openbmc/bmcweb/redfish-core/lib/
H A Dmetric_report_definition.hpp209 "xyz.openbmc_project.Telemetry.Report.ReportUpdates.Overwrite") in toRedfishReportUpdates()
214 "xyz.openbmc_project.Telemetry.Report.ReportUpdates.AppendWrapsWhenFull") in toRedfishReportUpdates()
219 "xyz.openbmc_project.Telemetry.Report.ReportUpdates.AppendStopsWhenFull") in toRedfishReportUpdates()
230 return "xyz.openbmc_project.Telemetry.Report.ReportUpdates.Overwrite"; in toDbusReportUpdates()
234 return "xyz.openbmc_project.Telemetry.Report.ReportUpdates.AppendWrapsWhenFull"; in toDbusReportUpdates()
238 return "xyz.openbmc_project.Telemetry.Report.ReportUpdates.AppendStopsWhenFull"; in toDbusReportUpdates()
281 std::string reportUpdates; in fillReportDefinition() local
291 "ReportUpdates", reportUpdates, "AppendLimit", appendLimit, in fillReportDefinition()
392 toRedfishReportUpdates(reportUpdates); in fillReportDefinition()
399 asyncResp->res.jsonValue["ReportUpdates"] = redfishReportUpdates; in fillReportDefinition()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DReport.interface.yaml60 - name: ReportUpdates
61 type: enum[self.ReportUpdates]
78 false by the service if ReportUpdates property is
128 - name: ReportUpdates
H A DReportManager.interface.yaml29 - name: ReportUpdates
30 type: enum[xyz.openbmc_project.Telemetry.Report.ReportUpdates]
/openbmc/telemetry/src/interfaces/
H A Dreport_factory.hpp42 uint64_t appendLimit, const ReportUpdates reportUpdates,
/openbmc/telemetry/tests/src/mocks/
H A Dreport_factory_mock.hpp64 const ReportUpdates, interfaces::ReportManager&,
83 params.reportUpdates(), rm, js, params.metricParameters(), in expectMake()
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DMetricReportDefinition_v1.xml91 …<Property Name="ReportUpdates" Type="MetricReportDefinition.v1_0_0.ReportUpdatesEnum" Nullable="fa…
98 …n the metric report reaches its limit, its behavior is dictated by the `ReportUpdates` property."/>
99 …its behavior shall be dictated by the `ReportUpdates` property. This property shall be required i…
208 …The service shall update the metric report based on the setting of the `ReportUpdates` property."/>
312 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc…
324 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, …
400 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc…
412 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, …
504 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc…
516 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, …
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DMetricReportDefinition_v1.xml91 …<Property Name="ReportUpdates" Type="MetricReportDefinition.v1_0_0.ReportUpdatesEnum" Nullable="fa…
98 …n the metric report reaches its limit, its behavior is dictated by the `ReportUpdates` property."/>
99 …its behavior shall be dictated by the `ReportUpdates` property. This property shall be required i…
208 …The service shall update the metric report based on the setting of the `ReportUpdates` property."/>
312 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc…
324 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, …
400 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc…
412 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, …
504 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc…
516 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, …
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DMetricReportDefinition.v1_4_6.json240 …en the metric report reaches its limit, its behavior is dictated by the `ReportUpdates` property.",
241 …its behavior shall be dictated by the `ReportUpdates` property. This property shall be required i…
357 "ReportUpdates": { object
447 … The service shall update the metric report based on the setting of the `ReportUpdates` property.",
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DMetricReportDefinition.v1_4_6.json240 …en the metric report reaches its limit, its behavior is dictated by the `ReportUpdates` property.",
241 …its behavior shall be dictated by the `ReportUpdates` property. This property shall be required i…
357 "ReportUpdates": { object
447 … The service shall update the metric report based on the setting of the `ReportUpdates` property.",
/openbmc/openbmc-test-automation/redfish/telemetry_service/
H A Dtest_telemetry_report.robot169 ... "ReportUpdates": "AppendWrapsWhenFull",
/openbmc/bmcweb/
H A DRedfish.md1084 - ReportUpdates
/openbmc/docs/designs/
H A Dtelemetry.md580 "ReportUpdates": "Overwrite",