/openbmc/telemetry/src/types/ |
H A D | report_updates.hpp | 12 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 D | report_manager.cpp | 50 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 D | report.cpp | 27 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 D | report_manager.hpp | 49 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 D | report.hpp | 61 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 D | report_factory.cpp | 22 uint64_t appendLimit, const ReportUpdates reportUpdates, in make() argument 44 reportActions, period, appendLimit, reportUpdates, reportManager, in make()
|
H A D | report_factory.hpp | 36 uint64_t appendLimitIn, const ReportUpdates reportUpdatesIn,
|
/openbmc/telemetry/tests/src/params/ |
H A D | report_params.hpp | 90 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 D | test_report.cpp | 141 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(ReportUpdate [all...] |
H A D | test_report_manager.cpp | 81 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 D | metric_report_definition.hpp | 209 "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 D | Report.interface.yaml | 60 - name: ReportUpdates 61 type: enum[self.ReportUpdates] 78 false by the service if ReportUpdates property is 128 - name: ReportUpdates
|
H A D | ReportManager.interface.yaml | 29 - name: ReportUpdates 30 type: enum[xyz.openbmc_project.Telemetry.Report.ReportUpdates]
|
/openbmc/telemetry/src/interfaces/ |
H A D | report_factory.hpp | 42 uint64_t appendLimit, const ReportUpdates reportUpdates,
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | report_factory_mock.hpp | 64 const ReportUpdates, interfaces::ReportManager&, 83 params.reportUpdates(), rm, js, params.metricParameters(), in expectMake()
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | MetricReportDefinition_v1.xml | 91 <Property Name="ReportUpdates" Type="MetricReportDefinition.v1_0_0.ReportUpdatesEnum" Nullable="false"> 98 <Annotation Term="OData.Description" String="The maximum number of entries that can be appended to a metric report. When the metric report reaches its limit, its behavior is dictated by the `ReportUpdates` property."/> 99 <Annotation Term="OData.LongDescription" String="This property shall contain a number that indicates the maximum number of entries that can be appended to a metric report. When the metric report reaches its limit, its behavior shall be dictated by the `ReportUpdates` property. This property shall be required if `ReportUpdates` contains `AppendWrapsWhenFull` or `AppendStopsWhenFull`."/> 208 <Annotation Term="OData.LongDescription" String="This value shall indicate the service records the occurrence to the metric report collection found under the telemetry service. The service shall update the metric report based on the setting of the `ReportUpdates` property."/> 312 <Annotation Term="OData.Description" String="This version was created to clarify the behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportActions`. It was also created to clarify the behavior when a metric report definition stops updating a metric report."/> 324 <Annotation Term="OData.Description" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, and properties in `Wildcards` as writable."/> 400 <Annotation Term="OData.Description" String="This version was created to clarify the behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportActions`. It was also created to clarify the behavior when a metric report definition stops updating a metric report."/> 412 <Annotation Term="OData.Description" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, and properties in `Wildcards` as writable."/> 510 <Annotation Term="OData.Description" String="This version was created to clarify the behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` an [all...] |
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | MetricReportDefinition_v1.xml | 91 …<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`, … 510 …he behavior of `OnRequest` metric report definitions with regards to `ReportUpdates` and `ReportAc… 522 …scription" String="This version was created to mark `ReportActions`, `ReportUpdates`, `MetricId`, … [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | MetricReportDefinition.v1_4_7.json | 240 …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 D | MetricReportDefinition.v1_4_7.json | 240 …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 D | test_telemetry_report.robot | 169 ... "ReportUpdates": "AppendWrapsWhenFull",
|
/openbmc/bmcweb/ |
H A D | Redfish.md | 1087 - ReportUpdates
|
/openbmc/docs/designs/ |
H A D | telemetry.md | 582 "ReportUpdates": "Overwrite",
|