Update Redfish schema pack to 2022.1
Update to an intermediate schema pack. This is not the newest, but is
an incremental commit to allow us to differentiate different versions of
the schema packs evolution.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I4e5905a3ed40ca41b095c39b4d29c074b6eaeb67
diff --git a/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json b/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
index 3324afa..2d81bbb 100644
--- a/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
+++ b/static/redfish/v1/JsonSchemas/MetricDefinition/MetricDefinition.json
@@ -1,8 +1,8 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.v1_2_1.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.v1_3_0.json",
"$ref": "#/definitions/MetricDefinition",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
- "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
"Actions": {
"additionalProperties": false,
@@ -300,6 +300,16 @@
"null"
]
},
+ "LogicalContexts": {
+ "description": "The logical contexts related to the metric.",
+ "items": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/LogicalContext"
+ },
+ "longDescription": "This property shall contain the logical contexts related to the metric. This property should be present when the PhysicalContext property does not provide complete information and additional context information is needed. For example, if the metric refers to capacity or performance.",
+ "readonly": true,
+ "type": "array",
+ "versionAdded": "v1_3_0"
+ },
"MaxReadingRange": {
"description": "Maximum value for metric reading.",
"longDescription": "The value shall indicate the highest possible value for a related MetricValue. The value shall have the units specified in the property Units. The property is not meaningful when the MetricType property is `Discrete`.",
@@ -537,6 +547,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2021.1",
- "title": "#MetricDefinition.v1_2_1.MetricDefinition"
+ "release": "2022.1",
+ "title": "#MetricDefinition.v1_3_0.MetricDefinition"
}
\ No newline at end of file