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/Chassis/Chassis.json b/static/redfish/v1/JsonSchemas/Chassis/Chassis.json
index 39da199..5f83171 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_21_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Chassis.v1_22_0.json",
"$ref": "#/definitions/Chassis",
"$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",
@@ -185,8 +185,8 @@
},
"FabricAdapters": {
"$ref": "http://redfish.dmtf.org/schemas/v1/FabricAdapterCollection.json#/definitions/FabricAdapterCollection",
- "description": "The link to the collection of fabric adapters located in this chassis.",
- "longDescription": "This property shall contain a link to a resource collection of type FabricAdapterCollection.",
+ "description": "The link to the collection of fabric adapters located in this chassis that provide access to fabric-related resource pools.",
+ "longDescription": "This property shall contain a link to a resource collection of type FabricAdapterCollection that represents fabric adapters in this chassis that provide access to fabric-related resource pools.",
"readonly": true,
"versionAdded": "v1_20_0"
},
@@ -300,15 +300,15 @@
},
"Memory": {
"$ref": "http://redfish.dmtf.org/schemas/v1/MemoryCollection.json#/definitions/MemoryCollection",
- "description": "The link to the collection of memory located in this chassis.",
- "longDescription": "This property shall contain a link to a resource collection of type MemoryCollection.",
+ "description": "The link to the collection of memory located in this chassis that belong to fabric-related resource pools.",
+ "longDescription": "This property shall contain a link to a resource collection of type MemoryCollection that represents memory in this chassis that belong to fabric-related resource pools.",
"readonly": true,
"versionAdded": "v1_11_0"
},
"MemoryDomains": {
"$ref": "http://redfish.dmtf.org/schemas/v1/MemoryDomainCollection.json#/definitions/MemoryDomainCollection",
- "description": "The link to the collection of memory domains located in this chassis.",
- "longDescription": "This property shall contain a link to a resource collection of type MemoryDomainCollection.",
+ "description": "The link to the collection of memory domains located in this chassis that belong to fabric-related resource pools.",
+ "longDescription": "This property shall contain a link to a resource collection of type MemoryDomainCollection that represents memory domains in this chassis that belong to fabric-related resource pools.",
"readonly": true,
"versionAdded": "v1_11_0"
},
@@ -373,8 +373,8 @@
},
"PhysicalSecurity": {
"$ref": "#/definitions/PhysicalSecurity",
- "description": "The state of the physical security sensor.",
- "longDescription": "This property shall contain the sensor state of the physical security.",
+ "description": "The physical security state of the chassis.",
+ "longDescription": "This property shall contain the physical security state of the chassis. Services may construct this state from multiple physical sensors.",
"versionAdded": "v1_1_0"
},
"Power": {
@@ -388,7 +388,7 @@
"PowerState": {
"anyOf": [
{
- "$ref": "#/definitions/PowerState"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/PowerState"
},
{
"type": "null"
@@ -416,6 +416,13 @@
],
"versionAdded": "v1_20_0"
},
+ "Processors": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/ProcessorCollection.json#/definitions/ProcessorCollection",
+ "description": "The link to the collection of processors located in this chassis that belong to fabric-related resource pools.",
+ "longDescription": "This property shall contain a link to a resource collection of type ProcessorCollection that represents processors in this chassis that belong to fabric-related resource pools.",
+ "readonly": true,
+ "versionAdded": "v1_22_0"
+ },
"Replaceable": {
"description": "An indication of whether this component can be independently replaced as allowed by the vendor's replacement policy.",
"longDescription": "This property shall indicate whether this component can be independently replaced as allowed by the vendor's replacement policy. A value of `false` indicates the component needs to be replaced by policy, as part of another component. If the `LocationType` property of this component contains `Embedded`, this property shall contain `false`.",
@@ -685,8 +692,12 @@
"Automatic"
],
"enumDescriptions": {
- "Automatic": "Because no abnormal physical security condition is detected, this sensor is automatically restored to the normal state.",
- "Manual": "A manual re-arm of this sensor restores it to the normal state."
+ "Automatic": "The sensor is automatically restored to the normal state when no security condition is detected.",
+ "Manual": "A user is required to clear the sensor to restore it to the normal state."
+ },
+ "enumLongDescriptions": {
+ "Automatic": "This value shall indicate the service sets the IntrusionSensor property to `Normal` when no security condition is detected.",
+ "Manual": "This value shall indicate a user is required to set the IntrusionSensor property to `Normal` to restore the sensor to its normal state."
},
"type": "string"
},
@@ -976,8 +987,8 @@
},
"PhysicalSecurity": {
"additionalProperties": false,
- "description": "The state of the physical security sensor.",
- "longDescription": "This type shall describe the sensor state of the physical security.",
+ "description": "The physical security state of the chassis.",
+ "longDescription": "This type shall describe the physical security state of the chassis.",
"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.",
@@ -1002,12 +1013,13 @@
"type": "null"
}
],
- "description": "This indicates the known state of the physical security sensor, such as if it is hardware intrusion detected.",
- "longDescription": "This property shall represent the state of this physical security sensor. Hardware intrusion indicates the internal hardware is detected as being accessed in an insecure state. Tampering detected indicates the physical tampering of the monitored entity is detected.",
+ "description": "The physical security state of the chassis, such as if hardware intrusion is detected.",
+ "longDescription": "This property shall contain the physical security state of the chassis. If the IntrusionSensorReArm property contains `Manual`, a client may set this property to `Normal` to reset the physical security state.",
"readonly": false,
"versionAdded": "v1_1_0"
},
"IntrusionSensorNumber": {
+ "deprecated": "This property has been deprecated in order to allow for multiple physical sensors to construct this object.",
"description": "A numerical identifier to represent the physical security sensor.",
"longDescription": "This property shall contain a numerical identifier for this physical security sensor that is unique within this resource.",
"readonly": true,
@@ -1015,7 +1027,8 @@
"integer",
"null"
],
- "versionAdded": "v1_1_0"
+ "versionAdded": "v1_1_0",
+ "versionDeprecated": "v1_22_0"
},
"IntrusionSensorReArm": {
"anyOf": [
@@ -1026,29 +1039,14 @@
"type": "null"
}
],
- "description": "The method that restores this physical security sensor to the normal state.",
- "longDescription": "This property shall represent the method that restores this physical security sensor to the normal state. Manual indicates manual re-arm is needed. Automatic indicates the state is restored automatically because no abnormal physical security conditions are detected.",
+ "description": "The policy that describes how the physical security state of the chassis returns to a normal state.",
+ "longDescription": "This property shall contain the policy that describes how the IntrusionSensor property returns to the `Normal` value.",
"readonly": true,
"versionAdded": "v1_1_0"
}
},
"type": "object"
},
- "PowerState": {
- "enum": [
- "On",
- "Off",
- "PoweringOn",
- "PoweringOff"
- ],
- "enumDescriptions": {
- "Off": "The components within the chassis have no power, except some components might continue to have AUX power, such as the management controller.",
- "On": "The components within the chassis have power.",
- "PoweringOff": "A temporary state between on and off. The components within the chassis can take time to process the power off action.",
- "PoweringOn": "A temporary state between off and on. The components within the chassis can take time to process the power on action."
- },
- "type": "string"
- },
"Reset": {
"additionalProperties": false,
"description": "This action resets the chassis but does not reset systems or other contained resources, although side effects can occur that affect those resources.",
@@ -1110,6 +1108,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2022.2",
- "title": "#Chassis.v1_21_0.Chassis"
+ "release": "2022.3",
+ "title": "#Chassis.v1_22_0.Chassis"
}
\ No newline at end of file