Move to 2022.2
Run the script update_schemas.py by pointing it to 2022.2
An overview of 2022.2 release can be found at:
[1] https://www.dmtf.org/sites/default/files/Redfish_Release_2022.2_Overview.pdf
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ic729af6848badd1c81121e61a22a7115e553358a
diff --git a/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json b/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
index 2d81bbb..3cde38b 100644
--- a/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
+++ b/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.v1_3_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.v1_3_1.json",
"$ref": "#/definitions/MetricDefinition",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
@@ -72,8 +72,8 @@
},
"CalculationParamsType": {
"additionalProperties": false,
- "description": "The usage of the parameter in the calculation.",
- "longDescription": "The list element shall contain the usage of the parameter in the calculation.",
+ "description": "The parameters for a metric calculation.",
+ "longDescription": "This type shall contain the parameters for a metric calculation.",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
@@ -90,8 +90,8 @@
},
"properties": {
"ResultMetric": {
- "description": "The link to a metric property that stores the result of the calculation. If the link has wildcards, the wildcards are substituted as specified in the Wildcards array property.",
- "longDescription": "This property shall contain a link to a metric property that stores the result of the calculation. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After a URI with wildcards replaces its wildcards, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON fragment notation rules.",
+ "description": "The URI with wildcards and property identifiers of the metric property that stores the result of the calculation. If the URI has wildcards, the wildcards are substituted as specified in the Wildcards property.",
+ "longDescription": "This property shall contain a URI with wildcards and property identifiers of the metric property that stores the result of the calculation. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After each wildcard is replaced, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON pointer notation rules.",
"readonly": true,
"type": [
"string",
@@ -99,8 +99,8 @@
]
},
"SourceMetric": {
- "description": "The metric property used as the input into the calculation. If the link has wildcards, the wildcards are substituted as specified in the Wildcards array property.",
- "longDescription": "This property shall contain a link to a metric property used in a calculation. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After a URI with wildcards replaces its wildcards, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON fragment notation rules.",
+ "description": "The URI with wildcards and property identifiers of the metric property used as the input into the calculation. If the URI has wildcards, the wildcards are substituted as specified in the Wildcards property.",
+ "longDescription": "This property shall contain a URI with wildcards and property identifiers of the metric property used as the input into the calculation. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After each wildcard is replaced, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON pointer notation rules.",
"readonly": true,
"type": [
"string",
@@ -218,7 +218,7 @@
"readonly": true
},
"CalculationParameters": {
- "description": "The metric properties that are part of a calculation.",
+ "description": "The metric properties that are part of a calculation that this metric definition defines.",
"items": {
"anyOf": [
{
@@ -229,7 +229,7 @@
}
]
},
- "longDescription": "This property shall list the metric properties that are part of a calculation. This property should be present when the value of the ImplementationType property is `Synthesized` or `Calculated`.",
+ "longDescription": "This property shall list the metric properties that are part of a calculation that this metric definition defines. This property should be present if ImplementationType contains `Synthesized` or `Calculated`.",
"type": "array"
},
"CalculationTimeInterval": {
@@ -333,7 +333,7 @@
"readonly": false
},
"MetricProperties": {
- "description": "The list of URIs with wildcards and property identifiers that this metric definition defines. If a URI has wildcards, the wildcards are substituted as specified in the Wildcards array property.",
+ "description": "The list of URIs with wildcards and property identifiers that this metric definition defines. If a URI has wildcards, the wildcards are substituted as specified in the Wildcards property.",
"format": "uri-reference",
"items": {
"type": [
@@ -341,7 +341,7 @@
"null"
]
},
- "longDescription": "This array property shall list the URIs with wildcards and property identifiers that this metric defines. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After a URI with wildcards replaces its wildcards, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON fragment notation rules.",
+ "longDescription": "This array property shall list the URIs with wildcards and property identifiers that this metric defines. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After each wildcard is replaced, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON pointer notation rules. This property should not be present if ImplementationType contains `Synthesized` or `Calculated`.",
"readonly": false,
"type": "array"
},
@@ -548,5 +548,5 @@
},
"owningEntity": "DMTF",
"release": "2022.1",
- "title": "#MetricDefinition.v1_3_0.MetricDefinition"
+ "title": "#MetricDefinition.v1_3_1.MetricDefinition"
}
\ No newline at end of file