blob: 05a64640f857632ee1c9744f0512d99b4ecd1897 [file] [log] [blame]
Krzysztof Grobelny53647642020-06-25 11:45:38 +02001description: >
2 Implement to provide reports management. Contain information about report
3 limitations and allows to add report.
4
5methods:
6 - name: AddReport
7 description: >
8 Create new object that represent Report with
9 xyz.openbmc_project.Telemetry.Report interface stored in path
10 /xyz/openbmc_project/Telemetry/Reports/{Domain}/{Name} where
11 Domain and Name are parameters of this method.
12 parameters:
13 - name: name
14 type: string
15 description: >
16 Defines the name of report to be exposed over D-Bus. Service allows
17 to use separator '/' in name to group reports in directory.
18 - name: reportingType
19 type: enum[xyz.openbmc_project.Telemetry.Report.ReportingType]
20 description: Defines report type
21 - name: emitsReadingsUpdate
22 type: boolean
23 description: >
24 Defines presence of PropertiesChanged signal for
25 xyz.openbmc_project.Telmetry.Report.Readings property.
26 - name: logToMetricReportsCollection
27 type: boolean
28 description: >
29 Defines presence of Report in Metric Report Collection in Redfish
30 Telemetry Service.
31 - name: interval
32 type: uint64
33 description: >
34 Defines period of time in milliseconds when Report is updated with
35 new readings. Minimal interval is defined in MinInterval property.
36 - name: metricParams
37 type: array[struct[array[object_path],enum[xyz.openbmc_project.Telemetry.Report.OperationType],string,string]]
38 description: >
39 Array of metric parameters where first parameter is an array of
40 sensors DBus paths. Second parameter specifies operation type of
41 metric. Third parameter is a metric Id and fourth parameter is a
42 metadata, both are used to store user details.
43 returns:
44 - name: reportPath
45 type: object_path
46 description: >
47 Path to new report -> /xyz/openbmc_project/Telemetry/Reports/{name}.
48
49properties:
50 - name: MaxReports
51 type: size
52 description: >
53 Contains the max number of metric reports supported by the Telemetry.
54 This property is added to be compliant with the Redfish Telemetry
55 Service schema, that contains MaxReports property.
56 flags:
57 - const
58 - name: MinInterval
59 type: uint64
60 description: >
61 Minimal allowed time between readings property updates. It limits
62 Interval property in xyz.openbmc_project.Telemetry.Report and
63 interval parameter in AddReport method.
64 flags:
65 - const