Changed array of sensor to single sensor in Telemetry.Report
Changed array of sensor object paths to single object_path in
ReadingParameters property in xyz.openbmc_project.Telemetry.Report
interface. Same changed has been applied to AddReport method in
xyz.openbmc_project.Telemetry.ReportManager interface. After deep
dive into details there is no need to support collection of sensor
for readings. Operations have to be performed on readings from
individual sensor.
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
Change-Id: I602091e59def6e3f5fb48c0a8c6f828edf41527c
diff --git a/xyz/openbmc_project/Telemetry/Report.interface.yaml b/xyz/openbmc_project/Telemetry/Report.interface.yaml
index 5614890..e26d1e0 100644
--- a/xyz/openbmc_project/Telemetry/Report.interface.yaml
+++ b/xyz/openbmc_project/Telemetry/Report.interface.yaml
@@ -17,11 +17,12 @@
Defines if the report configuration is stored in non volatile memory.
Configuration contains all Report properties excluding Readings.
- name: ReadingParameters
- type: array[struct[array[object_path],enum[self.OperationType],string,string]]
+ type: array[struct[object_path,enum[self.OperationType],string,string]]
description: >
- Array of structure that contains list of sensor paths, operation type,
- metric Id and metadata. Metric Id and metadata are used to store user
- details, e.g. metadata can be used to map sensor name to DBus path.
+ Array of structures that contains sensor path that is monitored by
+ Telemetry service, operation type, metric Id and metadata. Metric Id and
+ metadata are used to store user details, e.g. metadata can be used to
+ map sensor name to DBus path.
- name: Readings
type: struct[uint64,array[struct[string,string,double,uint64]]]
description: >
@@ -59,7 +60,7 @@
descritpion: Type of action that is executed on readings.
values:
- name: Single
- description: Store a single reading, only allowed on single sensor.
+ description: Store the latest reading.
- name: Max
description: Store maximal reading during defined time period.
- name: Min