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/LogEntry/LogEntry.json b/static/redfish/v1/JsonSchemas/LogEntry/LogEntry.json
index 2c12b8c..47a1b34 100644
--- a/static/redfish/v1/JsonSchemas/LogEntry/LogEntry.json
+++ b/static/redfish/v1/JsonSchemas/LogEntry/LogEntry.json
@@ -1,5 +1,5 @@
{
- "$id": "http://redfish.dmtf.org/schemas/v1/LogEntry.v1_13_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/LogEntry.v1_14_0.json",
"$ref": "#/definitions/LogEntry",
"$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,23 @@
},
"type": "object"
},
+ "CXLEntryType": {
+ "enum": [
+ "DynamicCapacity",
+ "Informational",
+ "Warning",
+ "Failure",
+ "Fatal"
+ ],
+ "enumDescriptions": {
+ "DynamicCapacity": "A CXL Dynamic Capacity log entry.",
+ "Failure": "A CXL failure log entry.",
+ "Fatal": "A CXL fatal log entry.",
+ "Informational": "A CXL informational log entry.",
+ "Warning": "A CXL warning log entry."
+ },
+ "type": "string"
+ },
"EventSeverity": {
"enum": [
"OK",
@@ -190,6 +207,13 @@
],
"versionAdded": "v1_7_0"
},
+ "CXLEntryType": {
+ "$ref": "#/definitions/CXLEntryType",
+ "description": "The specific CXL entry type.",
+ "longDescription": "This property shall contain the specific CXL entry type. This property shall only be present if EntryType contains `CXL`.",
+ "readonly": true,
+ "versionAdded": "v1_14_0"
+ },
"Created": {
"description": "The date and time when the log entry was created.",
"format": "date-time",
@@ -238,7 +262,7 @@
"EntryType": {
"$ref": "#/definitions/LogEntryType",
"description": "The type of log entry.",
- "longDescription": "This property shall represent the type of log entry. If the resource represents an IPMI SEL entry, the value shall contain `SEL`. If the resource represents a Redfish event log entry, the value shall contain `Event`. If the resource represents an OEM log entry format, the value shall contain `Oem`.",
+ "longDescription": "This property shall represent the type of log entry. If the resource represents an IPMI SEL entry, the value shall contain `SEL`. If the resource represents a Redfish event log entry, the value shall contain `Event`. If the resource represents a CXL event record, the value shall contain `CXL`. If the resource represents an OEM log entry format, the value shall contain `Oem`.",
"readonly": true
},
"EventGroupId": {
@@ -275,6 +299,14 @@
"versionAdded": "v1_1_0",
"versionDeprecated": "v1_4_0"
},
+ "FirstOverflowTimestamp": {
+ "description": "The timestamp of the first overflow captured after this log entry.",
+ "format": "date-time",
+ "longDescription": "This property shall contain the timestamp of the first overflow captured after this log entry. If this log entry is the most recent log entry in the log service, this property shall not be present if no overflow errors occurred after the time of this log entry. If this log entry is not the most recent log entry in the log service, this property shall not be present if no overflow errors occurred between the time of this log entry and the time of the next log entry.",
+ "readonly": true,
+ "type": "string",
+ "versionAdded": "v1_14_0"
+ },
"GeneratorId": {
"description": "An identifier of the device that has generated the IPMI SEL Event Record.",
"longDescription": "If EntryType is `SEL`, this property shall contain the 'Generator ID' field of the IPMI SEL Event Record. If EntryType is not `SEL`, this property should not be present.",
@@ -290,14 +322,22 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
"readonly": true
},
+ "LastOverflowTimestamp": {
+ "description": "The timestamp of the last overflow captured after this log entry.",
+ "format": "date-time",
+ "longDescription": "This property shall contain the timestamp of the last overflow captured after this log entry. If this log entry is the most recent log entry in the log service, this property shall not be present if no overflow errors occurred after the time of this log entry. If this log entry is not the most recent log entry in the log service, this property shall not be present if no overflow errors occurred between the time of this log entry and the time of the next log entry.",
+ "readonly": true,
+ "type": "string",
+ "versionAdded": "v1_14_0"
+ },
"Links": {
"$ref": "#/definitions/Links",
"description": "The links to other resources that are related to this resource.",
"longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
},
"Message": {
- "description": "The message of the log entry. This property decodes from the entry type. If the entry type is `Event`, this property contains a message. If the entry type is `SEL`, this property contains an SEL-specific message. Otherwise, this property contains an OEM-specific log entry. In most cases, this property contains the actual log entry.",
- "longDescription": "This property shall contain the message of the log entry. This property decodes from the entry type. If the entry type is `Event`, this property contains a message. If the entry type is `SEL`, this property contains an SEL-specific message, following the format specified in Table 32-1, SEL Event Records, in the IPMI Specification v2.0 revision 1.1. Otherwise, this property contains an OEM-specific log entry. In most cases, this property contains the actual log entry.",
+ "description": "The message of the log entry. This property decodes from the entry type. If the entry type is `Event`, this property contains a message. If the entry type is `SEL`, this property contains an SEL-specific message. If the entry type is `CXL`, this property contains a CXL event record. Otherwise, this property contains an OEM-specific log entry. In most cases, this property contains the actual log entry.",
+ "longDescription": "This property shall contain the message of the log entry. This property decodes from the entry type. If the entry type is `Event`, this property contains a message. If the entry type is `SEL`, this property contains an SEL-specific message, following the format specified in Table 32-1, SEL Event Records, in the IPMI Specification v2.0 revision 1.1. If the entry type is `CXL`, this property contains the CXL event record as a string of hex bytes in the pattern '^([a-fA-F0-9]{2})+$'. Otherwise, this property contains an OEM-specific log entry. In most cases, this property contains the actual log entry.",
"readonly": true,
"type": [
"string",
@@ -315,7 +355,7 @@
},
"MessageId": {
"description": "The MessageId, event data, or OEM-specific information. This property decodes from the entry type. If the entry type is `Event`, this property contains a Redfish Specification-defined MessageId. If the entry type is `SEL`, this property contains the Event Data. Otherwise, this property contains OEM-specific information.",
- "longDescription": "This property shall contain the MessageId, event data, or OEM-specific information. This property decodes from the entry type. If the entry type is `Event`, this property contains a Redfish Specification-defined MessageId property of the event. If the entry type is `SEL`, the format should follow the pattern '^0[xX](([a-fA-F]|[0-9]){2}){4}$', which results in a string in the form '0xNNaabbcc', where 'NN' is the EventDir/EventType byte, 'aa' is the Event Data 1 byte, 'bb' is Event Data 2 byte, 'cc' is Event Data 3 byte, corresponding with bytes 13-16 in the IPMI SEL Event Record. Otherwise, this property contains OEM-specific information.",
+ "longDescription": "This property shall contain the MessageId, event data, or OEM-specific information. This property decodes from the entry type. If the entry type is `Event`, this property contains a Redfish Specification-defined MessageId property of the event. If the entry type is `SEL`, the format should follow the pattern '^0[xX](([a-fA-F]|[0-9]){2}){4}$', which results in a string in the form '0xNNaabbcc', where 'NN' is the EventDir/EventType byte, 'aa' is the Event Data 1 byte, 'bb' is Event Data 2 byte, 'cc' is Event Data 3 byte, corresponding with bytes 13-16 in the IPMI SEL Event Record. If the entry type is `CXL`, this property shall not be present. Otherwise, this property contains OEM-specific information.",
"readonly": true,
"type": "string"
},
@@ -389,6 +429,20 @@
"readonly": true,
"versionAdded": "v1_11_0"
},
+ "OverflowErrorCount": {
+ "description": "The count of overflow errors that occurred after this log entry.",
+ "longDescription": "This property shall contain the count of overflow errors that occurred after this log entry. If this log entry is the most recent log entry in the log service, this property shall not be present if no overflow errors occurred after the time of this log entry. If this log entry is not the most recent log entry in the log service, this property shall not be present if no overflow errors occurred between the time of this log entry and the time of the next log entry.",
+ "readonly": true,
+ "type": "integer",
+ "versionAdded": "v1_14_0"
+ },
+ "Persistency": {
+ "description": "Indicates whether the log entry is persistent across a cold reset of the device.",
+ "longDescription": "This property shall indicate whether log entry is persistent across a cold reset of the device.",
+ "readonly": true,
+ "type": "boolean",
+ "versionAdded": "v1_14_0"
+ },
"Resolution": {
"description": "Used to provide suggestions on how to resolve the situation that caused the log entry.",
"longDescription": "This property shall contain the resolution of the log entry. Services should replace the resolution defined in the message registry with a more specific resolution in a log entry.",
@@ -605,13 +659,18 @@
"enum": [
"Event",
"SEL",
- "Oem"
+ "Oem",
+ "CXL"
],
"enumDescriptions": {
+ "CXL": "A CXL log entry.",
"Event": "A Redfish-defined message.",
"Oem": "An entry in an OEM-defined format.",
"SEL": "A legacy IPMI System Event Log (SEL) entry."
},
+ "enumVersionAdded": {
+ "CXL": "v1_14_0"
+ },
"type": "string"
},
"OemActions": {
@@ -748,6 +807,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2022.2",
- "title": "#LogEntry.v1_13_0.LogEntry"
+ "release": "2022.3",
+ "title": "#LogEntry.v1_14_0.LogEntry"
}
\ No newline at end of file