Post by ginugeorge on Mar 11, 2021 9:16:40 GMT
With reference to MetricReport.v1_2_0.json schema,
"ReportSequence" and "@odata.id" are required attributes, in addition to the others("@odata.type",
"Id" and "Name").
With reference to MetricReport.v1_3_0.json schema and above,
"ReportSequence" is deprecated. But "@odata.id" is a required attribute, in addition to the others("@odata.type",
"Id" and "Name").
In the case of Metric Reports internally generated for each of the MetricReportDefinitions Resource(https://{{ip}}/redfish/v1/TelemetryService/MetricReportDefinitions) created by the user, "ReportSequence" and "@odata.id" are relevant attributes.
But in the case of SubmitTestMetricReport(POST https://{{ip}}/redfish/v1/TelemetryService/Actions/TelemetryService.SubmitTestMetricReport) , a dummy Metric Report will be generated based on the values passed in the Request Body to the above POST Request. Sample Request Body mentioned as below:
In the above SubmitTestMetricReport scenario, are the "ReportSequence" and "@odata.id" attributes relevant ? If so, what should be the values for the two attributes "ReportSequence" and "@odata.id" ? Or it should be ignored, since it is a dummy report ?
Regards,
Ginu George
"MetricReport": {
.....
"properties": {
.....
},
"required": [
"ReportSequence",
"@odata.id",
"@odata.type",
"Id",
"Name"
],
"type": "object"
}
"ReportSequence" and "@odata.id" are required attributes, in addition to the others("@odata.type",
"Id" and "Name").
With reference to MetricReport.v1_3_0.json schema and above,
"MetricReport": {
.....
"properties": {
.....
},
"required": [
"@odata.id",
"@odata.type",
"Id",
"Name"
],
"type": "object"
}
"ReportSequence" is deprecated. But "@odata.id" is a required attribute, in addition to the others("@odata.type",
"Id" and "Name").
In the case of Metric Reports internally generated for each of the MetricReportDefinitions Resource(https://{{ip}}/redfish/v1/TelemetryService/MetricReportDefinitions) created by the user, "ReportSequence" and "@odata.id" are relevant attributes.
But in the case of SubmitTestMetricReport(POST https://{{ip}}/redfish/v1/TelemetryService/Actions/TelemetryService.SubmitTestMetricReport) , a dummy Metric Report will be generated based on the values passed in the Request Body to the above POST Request. Sample Request Body mentioned as below:
{
"MetricReportName": "Average_Temperature_Reading",
"GeneratedMetricReportValues": [
{
"MetricId": "Average_Temp_Reading",
"MetricProperty": "/redfish/v1/Chassis/Self/Thermal#/Temperatures/7_0/ReadingCelsius",
"MetricValue": "23",
"Timestamp": "2019-07-01T06:05:52+05:00"
}
]
}
In the above SubmitTestMetricReport scenario, are the "ReportSequence" and "@odata.id" attributes relevant ? If so, what should be the values for the two attributes "ReportSequence" and "@odata.id" ? Or it should be ignored, since it is a dummy report ?
Regards,
Ginu George