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/Chassis/Chassis.json b/static/redfish/v1/JsonSchemas/Chassis/Chassis.json
index 2b7d5c1..dbf6be8 100644
--- a/static/redfish/v1/JsonSchemas/Chassis/Chassis.json
+++ b/static/redfish/v1/JsonSchemas/Chassis/Chassis.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/Chassis.v1_16_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Chassis.v1_17_0.json",
"$ref": "#/definitions/Chassis",
"$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",
@@ -99,6 +99,13 @@
"longDescription": "This property shall indicate the physical form factor for the type of chassis.",
"readonly": true
},
+ "Controls": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/ControlCollection.json#/definitions/ControlCollection",
+ "description": "The link to the collection of controls located in this chassis.",
+ "longDescription": "This property shall contain a link to a resource collection of type ControlCollection.",
+ "readonly": true,
+ "versionAdded": "v1_17_0"
+ },
"DepthMm": {
"description": "The depth of the chassis.",
"longDescription": "This property shall represent the depth (length) of the chassis, in millimeters, as specified by the manufacturer.",
@@ -593,6 +600,19 @@
}
},
"properties": {
+ "Cables": {
+ "description": "An array of links to the cables connected to this chassis.",
+ "items": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Cable.json#/definitions/Cable"
+ },
+ "longDescription": "This property shall contain an array of links to resources of type Cable that represent the cables connected to this chassis.",
+ "readonly": true,
+ "type": "array",
+ "versionAdded": "v1_17_0"
+ },
+ "Cables@odata.count": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
+ },
"ComputerSystems": {
"description": "An array of links to the computer systems that this chassis directly and wholly contains.",
"items": {
@@ -903,6 +923,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2021.1",
- "title": "#Chassis.v1_16_0.Chassis"
+ "release": "2021.2",
+ "title": "#Chassis.v1_17_0.Chassis"
}
\ No newline at end of file