Update schema pack to 2021.4
Update the script to point to 2021.4.
Tested: built for evb-ast2500, ran Redfish Service Validator:
BASE 2021.4
metadataNamespaces: 2330 2388
pass: 3239 3249
passAction: 8 8
passGet: 120 121
passRedfishUri: 114 115
skipNoSchema: 3 3
skipOptional: 2180 2184
unverifiedAdditional.complex: 2 0
warnDeprecated: 315 315
warningPresent: 12 11
Validation has: succeeded succeeded
Saw new schemas:
curl -k https://$bmc/redfish/v1/JsonSchemas/Manager/Manager.json
...
"title": "#Manager.v1_14_0.Manager"
}
Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: I6560ec010362df28e264d80452059b534b3f89ba
diff --git a/static/redfish/v1/JsonSchemas/LogEntry/LogEntry.json b/static/redfish/v1/JsonSchemas/LogEntry/LogEntry.json
index c27c5e8..90d1b5d 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_10_0.json",
+ "$id": "http://redfish.dmtf.org/schemas/v1/LogEntry.v1_11_0.json",
"$ref": "#/definitions/LogEntry",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
"copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
@@ -349,9 +349,23 @@
],
"versionAdded": "v1_3_0"
},
+ "Originator": {
+ "description": "The source of the log entry.",
+ "longDescription": "This property shall contain the source of the log entry.",
+ "readonly": true,
+ "type": "string",
+ "versionAdded": "v1_11_0"
+ },
+ "OriginatorType": {
+ "$ref": "#/definitions/OriginatorTypes",
+ "description": "The type of originator data.",
+ "longDescription": "This property shall contain the type of originator data.",
+ "readonly": true,
+ "versionAdded": "v1_11_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 can replace the resolution defined in the message registry with a more specific resolution in a 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.",
"readonly": true,
"type": "string",
"versionAdded": "v1_9_0"
@@ -588,6 +602,19 @@
"properties": {},
"type": "object"
},
+ "OriginatorTypes": {
+ "enum": [
+ "Client",
+ "Internal",
+ "SupportingService"
+ ],
+ "enumDescriptions": {
+ "Client": "A client of the service created this log entry.",
+ "Internal": "A process running on the service created this log entry.",
+ "SupportingService": "A process not running on the service but running on a supporting service, such as RDE implementations, UEFI, or host processes, created this log entry."
+ },
+ "type": "string"
+ },
"SensorType": {
"enum": [
"Platform Security Violation Attempt",
@@ -688,6 +715,6 @@
}
},
"owningEntity": "DMTF",
- "release": "2021.3",
- "title": "#LogEntry.v1_10_0.LogEntry"
+ "release": "2021.4",
+ "title": "#LogEntry.v1_11_0.LogEntry"
}
\ No newline at end of file