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/Task/Task.json b/static/redfish/v1/JsonSchemas/Task/Task.json
index b7fe97e..1065436 100644
--- a/static/redfish/v1/JsonSchemas/Task/Task.json
+++ b/static/redfish/v1/JsonSchemas/Task/Task.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/Task.v1_7_2.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/Task.v1_7_3.json",
"$ref": "#/definitions/Task",
"$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",
@@ -131,7 +131,7 @@
},
"JsonBody": {
"description": "The JSON payload to use in the execution of this task.",
- "longDescription": "This property shall contain JSON formatted payload used for this task.",
+ "longDescription": "This property shall contain the JSON-formatted payload used for this task.",
"readonly": true,
"type": "string",
"versionAdded": "v1_3_0"
@@ -181,7 +181,7 @@
"Actions": {
"$ref": "#/definitions/Actions",
"description": "The available actions for this resource.",
- "longDescription": "The actions property shall contain the available actions for this resource.",
+ "longDescription": "This property shall contain the available actions for this resource.",
"versionAdded": "v1_1_0"
},
"Description": {
@@ -227,7 +227,7 @@
"Links": {
"$ref": "#/definitions/Links",
"description": "Contains references to other resources that are related to this resource.",
- "longDescription": "The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.",
+ "longDescription": "The Links property, as described by the Redfish Specification, shall contain references to resources that are related to but are not contained by, or subordinate to, this resource.",
"versionAdded": "v1_7_0"
},
"Messages": {
@@ -297,7 +297,7 @@
"TaskStatus": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
"description": "The completion status of the task.",
- "longDescription": "This property shall contain the completion status of the task and shall not be set until the task completes. This property should contain `Critical` if one or more messages in the Messages array contains the severity `Critical`. This property should contain `Warning` if one or more messages in the Messages array contains the severity `Warning` and no messages contain the severity `Critical`. This property should contain `OK` if all messages in the Messages array contain the severity `OK` or the array is empty.",
+ "longDescription": "This property shall contain the completion status of the task and shall not be set until the task completes. This property should contain `Critical` if one or more messages in the Messages array contains the severity `Critical`. This property should contain `Warning` if one or more messages in the Messages array contains the severity `Warning` and if no messages contain the severity `Critical`. This property should contain `OK` if all messages in the Messages array contain the severity `OK` or if the array is empty.",
"readonly": true
}
},
@@ -350,7 +350,7 @@
"Exception": "This value shall represent that the task completed with errors.",
"Interrupted": "This value shall represent that the task has been interrupted but is expected to restart and is therefore not complete.",
"Killed": "This value shall represent that the task is complete because an operator killed it.",
- "New": "This value shall represent that the task is newly created, but has not started.",
+ "New": "This value shall represent that the task is newly created but has not started.",
"Pending": "This value shall represent that the task is pending some condition and has not yet begun to execute.",
"Running": "This value shall represent that the task is executing.",
"Service": "This value shall represent that the task is now running as a service and expected to continue operation until stopped or killed.",
@@ -370,5 +370,5 @@
},
"owningEntity": "DMTF",
"release": "2022.3",
- "title": "#Task.v1_7_2.Task"
+ "title": "#Task.v1_7_3.Task"
}
\ No newline at end of file