Update schema pack to 2022.3
Update scripts/update_schemas.py to point at 2022.3 and run.
Schema pack 2022.3 is the latest Redfish release, released 01/23/2023.
It contains several new schemas and support for Multi-factor
Authentication and CXL support along other things.
Update done by automation.
Tested: Redfish service validator passes.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I55a64d7cda26572e7b75135acc324cb44d316fe6
diff --git a/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json b/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json
index cfd48e3..b0f3aaf 100644
--- a/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json
+++ b/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_10_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_11_0.json",
"$ref": "#/definitions/PCIeDevice",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
@@ -32,6 +32,98 @@
},
"type": "object"
},
+ "CXLDevice": {
+ "additionalProperties": false,
+ "description": "The CXL-specific properties of a PCIe device.",
+ "longDescription": "This type shall contain CXL-specific properties of a PCIe device.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
+ "properties": {
+ "DeviceType": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CXLDeviceType"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The CXL device type.",
+ "longDescription": "This property shall contain the CXL device type.",
+ "readonly": true,
+ "versionAdded": "v1_11_0"
+ },
+ "EgressPortCongestionSupport": {
+ "description": "Indicates whether the CXL device supports egress port congestion management.",
+ "longDescription": "This property shall indicate whether the CXL device supports the CXL Specification-defined 'Egress Port Congestion' mechanism.",
+ "readonly": true,
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "versionAdded": "v1_11_0"
+ },
+ "MaxNumberLogicalDevices": {
+ "description": "The maximum number of logical devices supported by this CXL device.",
+ "longDescription": "This property shall contain the maximum number of logical devices supported by this CXL device.",
+ "readonly": true,
+ "type": [
+ "number",
+ "null"
+ ],
+ "versionAdded": "v1_11_0"
+ },
+ "ThroughputReductionSupport": {
+ "description": "Indicates whether the CXL device supports throughput reduction.",
+ "longDescription": "This property shall indicate whether the CXL device supports the CXL Specification-defined 'Throughput Reduction' mechanism.",
+ "readonly": true,
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "versionAdded": "v1_11_0"
+ },
+ "Timestamp": {
+ "description": "The timestamp set on the CXL device.",
+ "format": "date-time",
+ "longDescription": "This property shall contain the timestamp set on the CXL device.",
+ "readonly": false,
+ "type": "string",
+ "versionAdded": "v1_11_0"
+ }
+ },
+ "type": "object"
+ },
+ "CXLDeviceType": {
+ "enum": [
+ "Type1",
+ "Type2",
+ "Type3"
+ ],
+ "enumDescriptions": {
+ "Type1": "A CXL Type 1 device.",
+ "Type2": "A CXL Type 2 device.",
+ "Type3": "A CXL Type 3 device."
+ },
+ "enumLongDescriptions": {
+ "Type1": "This value shall indicate a CXL Specification-defined Type 1 device.",
+ "Type2": "This value shall indicate a CXL Specification-defined Type 2 device.",
+ "Type3": "This value shall indicate a CXL Specification-defined Type 3 device."
+ },
+ "type": "string"
+ },
"DeviceType": {
"enum": [
"SingleFunction",
@@ -204,6 +296,26 @@
"null"
]
},
+ "CXLDevice": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CXLDevice"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The CXL-specific properties of this PCIe device.",
+ "longDescription": "This property shall contain CXL-specific properties of this PCIe device.",
+ "versionAdded": "v1_11_0"
+ },
+ "CXLLogicalDevices": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/CXLLogicalDeviceCollection.json#/definitions/CXLLogicalDeviceCollection",
+ "description": "The link to the collection of CXL logical devices within this PCIe device.",
+ "longDescription": "This property shall contain a link to a resource collection of type CXLLogicalDeviceCollection.",
+ "readonly": true,
+ "versionAdded": "v1_11_0"
+ },
"Description": {
"anyOf": [
{
@@ -346,6 +458,13 @@
],
"versionAdded": "v1_6_0"
},
+ "StagedVersion": {
+ "description": "The staged firmware version for this PCIe device, but is not yet active.",
+ "longDescription": "This property shall contain the staged firmware version for this PCIe device, but is not yet active.",
+ "readonly": true,
+ "type": "string",
+ "versionAdded": "v1_11_0"
+ },
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
"description": "The status and health of the resource and its subordinate or dependent resources.",
@@ -662,6 +781,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2022.2",
- "title": "#PCIeDevice.v1_10_0.PCIeDevice"
+ "release": "2022.3",
+ "title": "#PCIeDevice.v1_11_0.PCIeDevice"
}
\ No newline at end of file