telemetry: Unify reading parameter property names
Changes name of "MetricParams" argument of ReportManager.AddReport
method to "ReadingParameters", which is its equivalent from Report
interface. This helps avoid possible confusion, whether those parameters
should refer to the same thing or not.
Change-Id: I18e504462fb379e5267cee2c4102cf61e2b157a8
Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
diff --git a/yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml b/yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml
index ccaf8a6..c5b1eb0 100644
--- a/yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml
+++ b/yaml/xyz/openbmc_project/Telemetry/ReportManager.interface.yaml
@@ -45,7 +45,7 @@
description: >
Period of time in milliseconds when Report is updated with new
readings. Minimal interval is defined in MinInterval property.
- - name: MetricParams
+ - name: ReadingParameters
type: array[struct[array[struct[object_path,string]],enum[xyz.openbmc_project.Telemetry.Report.OperationType],string,enum[xyz.openbmc_project.Telemetry.Report.CollectionTimescope],uint64]]
description: >
Array of metric parameters, which are stored in a way specified