Bump Redfish schemas to 2023.3
Redfish released 2023.3 1/25/2024.
https://www.dmtf.org/content/redfish-release-20233-now-available
It is several new schemas and added properties to a pile of schemas.
One use case is: ComputerSystem v1.22.0
Added EfficiencyFavorPower and EfficiencyFavorPerformance to PowerMode
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/69122
This is a one line change to scripts/update_schemas.py and then ran the
script.
Tested: See the new schema versions (e.g. System 1.22.0).
No new Validator errors on p10bmc.
Change-Id: I5c10d78e891da71fd14187f63aa6ac682cf15598
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 3a794bd..9f940b5 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_24_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Chassis.v1_25_0.json",
"$ref": "#/definitions/Chassis",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2023 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
@@ -108,7 +108,7 @@
},
"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.",
+ "longDescription": "This property shall represent the depth (length) of the chassis, in millimeter units, as specified by the manufacturer.",
"minimum": 0,
"readonly": true,
"type": [
@@ -142,7 +142,7 @@
"versionAdded": "v1_14_0"
},
"ElectricalSourceManagerURIs": {
- "description": "The URIs of the management interfaces for the upstream electrical source connections for this chassis.",
+ "description": "The URIs of the management interfaces for the external electrical source connections for this chassis.",
"format": "uri-reference",
"items": {
"type": [
@@ -150,20 +150,20 @@
"null"
]
},
- "longDescription": "This property shall contain an array of URIs to the management applications or devices that provide monitoring or control of the upstream electrical sources that provide power to this chassis.",
+ "longDescription": "This property shall contain an array of URIs to the management applications or devices that provide monitoring or control of the external electrical sources that provide power to this chassis.",
"readonly": false,
"type": "array",
"versionAdded": "v1_18_0"
},
"ElectricalSourceNames": {
- "description": "The names of the upstream electrical sources, such as circuits or outlets, connected to this chassis.",
+ "description": "The names of the external electrical sources, such as circuits or outlets, connected to this chassis.",
"items": {
"type": [
"string",
"null"
]
},
- "longDescription": "This property shall contain an arrays of strings that identify the upstream electrical sources, such as the names of circuits or outlets, that provide power to this chassis.",
+ "longDescription": "This property shall contain an array of strings that identify the external electrical sources, such as the names of circuits or outlets, that provide power to this chassis.",
"readonly": false,
"type": "array",
"versionAdded": "v1_18_0"
@@ -196,9 +196,36 @@
"readonly": true,
"versionAdded": "v1_20_0"
},
+ "HeatingCoolingEquipmentNames": {
+ "description": "The names of the external heating or cooling equipment, such as coolant distribution units, connected to this chassis.",
+ "items": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "longDescription": "This property shall contain an array of strings that identify the external heating or cooling equipment, such as the names of specific coolant distribution units, that provide thermal management for this chassis.",
+ "readonly": false,
+ "type": "array",
+ "versionAdded": "v1_25_0"
+ },
+ "HeatingCoolingManagerURIs": {
+ "description": "The URIs of the management interfaces for the external heating or cooling equipment for this chassis.",
+ "format": "uri-reference",
+ "items": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "longDescription": "This property shall contain an array of URIs to the management applications or devices that provide monitoring or control of the external heating or cooling equipment that provide thermal management for this chassis.",
+ "readonly": false,
+ "type": "array",
+ "versionAdded": "v1_25_0"
+ },
"HeightMm": {
"description": "The height of the chassis.",
- "longDescription": "This property shall represent the height of the chassis, in millimeters, as specified by the manufacturer.",
+ "longDescription": "This property shall represent the height of the chassis, in millimeter units, as specified by the manufacturer.",
"minimum": 0,
"readonly": true,
"type": [
@@ -245,7 +272,7 @@
"Location": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Location",
"description": "The location of the chassis.",
- "longDescription": "This property shall contain location information of the associated chassis.",
+ "longDescription": "This property shall contain the location information of the associated chassis.",
"versionAdded": "v1_2_0"
},
"LocationIndicatorActive": {
@@ -433,7 +460,7 @@
},
"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`.",
+ "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`.",
"readonly": true,
"type": [
"boolean",
@@ -537,7 +564,7 @@
}
],
"description": "The UUID for this chassis.",
- "longDescription": "This property shall contain the universal unique identifier number for this chassis.",
+ "longDescription": "This property shall contain the universally unique identifier number for this chassis.",
"readonly": true,
"versionAdded": "v1_7_0"
},
@@ -553,7 +580,7 @@
},
"WeightKg": {
"description": "The weight of the chassis.",
- "longDescription": "This property shall represent the published mass, commonly referred to as weight, of the chassis, in kilograms.",
+ "longDescription": "This property shall represent the published mass, commonly referred to as weight, of the chassis, in kilogram units.",
"minimum": 0,
"readonly": true,
"type": [
@@ -565,7 +592,7 @@
},
"WidthMm": {
"description": "The width of the chassis.",
- "longDescription": "This property shall represent the width of the chassis, in millimeters, as specified by the manufacturer.",
+ "longDescription": "This property shall represent the width of the chassis, in millimeter units, as specified by the manufacturer.",
"minimum": 0,
"readonly": true,
"type": [
@@ -609,6 +636,7 @@
"StorageEnclosure",
"ImmersionTank",
"HeatExchanger",
+ "PowerStrip",
"Other"
],
"enumDescriptions": {
@@ -625,6 +653,7 @@
"Module": "A small, typically removable, chassis or card that contains devices for a particular subsystem or function.",
"Other": "A chassis that does not fit any of these definitions.",
"Pod": "A collection of equipment racks in a large, likely transportable, container.",
+ "PowerStrip": "A power strip, typically placed in the zero-U space of a rack.",
"Rack": "An equipment rack, typically a 19-inch wide freestanding unit.",
"RackGroup": "A group of racks that form a single entity or share infrastructure.",
"RackMount": "A single-system chassis designed specifically for mounting in an equipment rack.",
@@ -640,6 +669,7 @@
"HeatExchanger": "v1_23_0",
"IPBasedDrive": "v1_3_0",
"ImmersionTank": "v1_23_0",
+ "PowerStrip": "v1_25_0",
"RackGroup": "v1_4_0",
"StorageEnclosure": "v1_6_0"
},
@@ -790,7 +820,7 @@
"Off"
],
"enumDeprecated": {
- "Unknown": "This value has been deprecated in favor of returning null if the state is unknown."
+ "Unknown": "This value has been deprecated in favor of returning `null` if the state is unknown."
},
"enumDescriptions": {
"Blinking": "The indicator LED is blinking.",
@@ -927,7 +957,7 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
},
"CoolingUnits": {
- "description": "An arrays of links to cooling unit functionality contained in this chassis.",
+ "description": "An array of links to cooling unit functionality contained in this chassis.",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/CoolingUnit.json#/definitions/CoolingUnit"
},
@@ -1049,7 +1079,7 @@
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/PowerSupply.json#/definitions/PowerSupply"
},
- "longDescription": "This property shall contain an array of links to resources of type PowerSupply that represent the power supplies that provide power to this chassis. This property shall not be present if the PoweredByParent property contains `true` or the power supplies are contained in the PowerSubsystem resource for this chassis.",
+ "longDescription": "This property shall contain an array of links to resources of type PowerSupply that represent the power supplies that provide power to this chassis. This property shall not be present if the PoweredByParent property contains `true` or if the power supplies are contained in the PowerSubsystem resource for this chassis.",
"readonly": true,
"type": "array",
"versionAdded": "v1_20_0"
@@ -1089,7 +1119,7 @@
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlock.json#/definitions/ResourceBlock"
},
- "longDescription": "This property shall contain an array of links of to resources of type ResourceBlock that this chassis contains.",
+ "longDescription": "This property shall contain an array of links to resources of type ResourceBlock that this chassis contains.",
"readonly": true,
"type": "array",
"versionAdded": "v1_5_0"
@@ -1203,7 +1233,7 @@
],
"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,
+ "readonly": false,
"versionAdded": "v1_1_0"
}
},
@@ -1270,6 +1300,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2023.2",
- "title": "#Chassis.v1_24_0.Chassis"
+ "release": "2023.3",
+ "title": "#Chassis.v1_25_0.Chassis"
}
\ No newline at end of file