Move to 2021.2
Update the script to point at 2021.2, change the path of the files since
they moved yet again, and run the script.
The directory structure moved back to the way they had it pre-2020.1:
https://github.com/openbmc/bmcweb/commit/a778c0261282b95e14ea3f4406959638b5edb040
Since we have an exclude list, this only brings in new versions of
schemas bmcweb already uses.
Overview of 2021.2:
https://www.dmtf.org/sites/default/files/Redfish_Release_2021.2_Overview.pdf
IBM plans to use Control (for PowerCapping) and IdlePowerSaver
immediately.
Tested: Validator passed after DMTF/Redfish-Service-Validator/pull/423
merged.
CI uses the latest Redfish-Service-Validator so not a problem for CI.
For manual users only a small window where an older validator would
fail. After the schemapack changes but before PR423.
See the new schemas.
Change-Id: I2fe539087167cf6d962c14bf31fa23861302646f
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/static/redfish/v1/JsonSchemas/Drive/Drive.json b/static/redfish/v1/JsonSchemas/Drive/Drive.json
index 7ca530c..2c8056b 100644
--- a/static/redfish/v1/JsonSchemas/Drive/Drive.json
+++ b/static/redfish/v1/JsonSchemas/Drive/Drive.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/Drive.v1_12_1.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Drive.v1_13_0.json",
"$ref": "#/definitions/Drive",
"$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",
@@ -202,9 +202,9 @@
"type": "null"
}
],
- "description": "The type of hot spare that this drive currently serves as.",
+ "description": "The type of hot spare that this drive serves as.",
"longDescription": "This property shall contain the hot spare type for the associated drive. If the drive currently serves as a hot spare, its Status.State field shall be 'StandbySpare' and 'Enabled' when it is part of a volume.",
- "readonly": true
+ "readonly": false
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
@@ -516,10 +516,10 @@
"Dedicated"
],
"enumDescriptions": {
- "Chassis": "The drive is currently serving as a hot spare for all other drives in the chassis.",
- "Dedicated": "The drive is currently serving as a hot spare for a user-defined set of drives.",
- "Global": "The drive is currently serving as a hot spare for all other drives in the storage system.",
- "None": "The drive is not currently a hot spare."
+ "Chassis": "The drive is serving as a hot spare for all other drives in this storage domain that are contained in the same chassis.",
+ "Dedicated": "The drive is serving as a hot spare for a user-defined set of drives or volumes. Clients cannot specify this value when modifying the HotspareType property. This value is reported as a result of configuring the spare drives within a volume.",
+ "Global": "The drive is serving as a hot spare for all other drives in this storage domain.",
+ "None": "The drive is not a hot spare."
},
"type": "string"
},
@@ -579,6 +579,13 @@
"PCIeFunctions@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
},
+ "Storage": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Storage.json#/definitions/Storage",
+ "description": "A link to the storage subsystem to which this drive belongs.",
+ "longDescription": "This property shall contain a link to a resource of type Storage that represents the storage subsystem to which this drive belongs.",
+ "readonly": true,
+ "versionAdded": "v1_13_0"
+ },
"StoragePools": {
"description": "An array of links to the storage pools to which this drive belongs.",
"items": {
@@ -785,6 +792,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2020.4",
- "title": "#Drive.v1_12_1.Drive"
+ "release": "2021.2",
+ "title": "#Drive.v1_13_0.Drive"
}
\ No newline at end of file