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/Resource/Resource.json b/static/redfish/v1/JsonSchemas/Resource/Resource.json
index a2ed148..f658f62 100644
--- a/static/redfish/v1/JsonSchemas/Resource/Resource.json
+++ b/static/redfish/v1/JsonSchemas/Resource/Resource.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/Resource.v1_12_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Resource.v1_13_0.json",
"$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",
"definitions": {
@@ -271,12 +271,14 @@
"Bay",
"Connector",
"Socket",
- "Backplane"
+ "Backplane",
+ "Embedded"
],
"enumDescriptions": {
"Backplane": "A backplane.",
"Bay": "A bay.",
"Connector": "A connector or port.",
+ "Embedded": "Embedded within a part.",
"Slot": "A slot.",
"Socket": "A socket."
},
@@ -284,11 +286,13 @@
"Backplane": "This value shall indicate the part is a backplane in an enclosure.",
"Bay": "This value shall indicate the part is located in a bay.",
"Connector": "This value shall indicate the part is located in a connector or port.",
+ "Embedded": "This value shall indicate the part is embedded or otherwise permanently incorporated into a larger part or device. This value shall not be used for parts that can be removed by a user or are considered field-replaceable.",
"Slot": "This value shall indicate the part is located in a slot.",
"Socket": "This value shall indicate the part is located in a socket."
},
"enumVersionAdded": {
- "Backplane": "v1_12_0"
+ "Backplane": "v1_12_0",
+ "Embedded": "v1_13_0"
},
"longDescription": "This enumeration shall list the types of locations for a part within an enclosure.",
"type": "string"
@@ -360,8 +364,8 @@
"type": "null"
}
],
- "description": "The type of location of the part, such as slot, bay, socket, or slot.",
- "longDescription": "This property shall contain the type of location of the part, such as slot, bay, socket, or slot.",
+ "description": "The type of location of the part.",
+ "longDescription": "This property shall contain the type of location of the part.",
"readonly": true,
"versionAdded": "v1_5_0"
},
@@ -910,8 +914,8 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
},
"MemberId": {
- "description": "The identifier for the member within the collection.",
- "longDescription": "This property shall uniquely identify the member within the collection. For services supporting Redfish v1.6 or higher, this value shall contain the zero-based array index.",
+ "description": "The unique identifier for the member within an array.",
+ "longDescription": "This property shall contain the unique identifier for this member within an array. For services supporting Redfish v1.6 or higher, this value shall contain the zero-based array index.",
"readonly": true,
"type": "string"
},
@@ -1049,6 +1053,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2021.1",
- "title": "#Resource.v1_12_0"
+ "release": "2021.2",
+ "title": "#Resource.v1_13_0"
}
\ No newline at end of file