Update schema pack to 2021.4
Update the script to point to 2021.4.
Tested: built for evb-ast2500, ran Redfish Service Validator:
BASE 2021.4
metadataNamespaces: 2330 2388
pass: 3239 3249
passAction: 8 8
passGet: 120 121
passRedfishUri: 114 115
skipNoSchema: 3 3
skipOptional: 2180 2184
unverifiedAdditional.complex: 2 0
warnDeprecated: 315 315
warningPresent: 12 11
Validation has: succeeded succeeded
Saw new schemas:
curl -k https://$bmc/redfish/v1/JsonSchemas/Manager/Manager.json
...
"title": "#Manager.v1_14_0.Manager"
}
Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: I6560ec010362df28e264d80452059b534b3f89ba
diff --git a/static/redfish/v1/JsonSchemas/Drive/Drive.json b/static/redfish/v1/JsonSchemas/Drive/Drive.json
index 2c8056b..c60fe7f 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_13_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Drive.v1_14_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",
@@ -268,13 +268,15 @@
]
},
"Measurements": {
+ "deprecated": "This property has been deprecated in favor of the ComponentIntegrity resource.",
"description": "An array of DSP0274-defined measurement blocks.",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventory.json#/definitions/MeasurementBlock"
},
"longDescription": "This property shall contain an array of DSP0274-defined measurement blocks.",
"type": "array",
- "versionAdded": "v1_12_0"
+ "versionAdded": "v1_12_0",
+ "versionDeprecated": "v1_14_0"
},
"MediaType": {
"anyOf": [
@@ -401,7 +403,7 @@
"number",
"null"
],
- "units": "RPM"
+ "units": "{rev}/min"
},
"SKU": {
"description": "The SKU for this drive.",
@@ -562,6 +564,19 @@
"Endpoints@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
},
+ "NetworkDeviceFunctions": {
+ "description": "An array of links to the network device functions that provide network connectivity for this drive.",
+ "items": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/NetworkDeviceFunction.json#/definitions/NetworkDeviceFunction"
+ },
+ "longDescription": "This property shall contain the array of links to resources of type NetworkDeviceFunction. This property should only be present for drives with network connectivity, such as Ethernet attached drives.",
+ "readonly": true,
+ "type": "array",
+ "versionAdded": "v1_14_0"
+ },
+ "NetworkDeviceFunctions@odata.count": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
+ },
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "The OEM extension property.",
@@ -792,6 +807,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2021.2",
- "title": "#Drive.v1_13_0.Drive"
+ "release": "2021.4",
+ "title": "#Drive.v1_14_0.Drive"
}
\ No newline at end of file