diff options
author | Asmitha Karunanithi <asmitk01@in.ibm.com> | 2020-06-22 11:40:15 +0300 |
---|---|---|
committer | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | 2020-07-28 08:27:07 +0300 |
commit | 40e7fea29c31dc16b31119986b0a4adc06f7e52f (patch) | |
tree | c1853c90abf89033ba32541e025fc987ad73b47d /static/redfish/v1/JsonSchemas | |
parent | 72d566d9ebe2125b589c56ff71d4dcef6cd38981 (diff) | |
download | bmcweb-40e7fea29c31dc16b31119986b0a4adc06f7e52f.tar.xz |
Redfish: Minor changes in the Oem schemas for dump
In this commit, CollectDiagnisticData action in
OemLogService schema is updated with two parameters.
It also includes dereferencing the unused namespace
in metadata xml file.
Tested-By:
Redfish Validator - Passed
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I093ddaef9fa786767b2853e235571a4664ee759c
Diffstat (limited to 'static/redfish/v1/JsonSchemas')
-rw-r--r-- | static/redfish/v1/JsonSchemas/OemLogEntry/index.json | 6 | ||||
-rw-r--r-- | static/redfish/v1/JsonSchemas/OemLogService/index.json | 32 |
2 files changed, 34 insertions, 4 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemLogEntry/index.json b/static/redfish/v1/JsonSchemas/OemLogEntry/index.json index 31756d0a83..b38ac51b91 100644 --- a/static/redfish/v1/JsonSchemas/OemLogEntry/index.json +++ b/static/redfish/v1/JsonSchemas/OemLogEntry/index.json @@ -13,7 +13,7 @@ "enumDescriptions": { "Manager": "Indicates Manager diagnostic data.", "OEM": "Indicates OEM diagnostic data.", - "OS": "Indicates Operation system(OS) diagnostic data.", + "OS": "Indicates Operating system(OS) diagnostic data.", "PreOS": "Indicates Pre-OS diagnostic data." }, "type": "string" @@ -38,7 +38,7 @@ "properties": { "AdditionalDataSizeBytes": { "description": "The size of diagnostic data in bytes for the log entry if the entry type is `DUMP`.", - "longDescription": "This property shall contain the size of diagnostic data in bytes for the log entry if the entry if the entry type is `DUMP`.", + "longDescription": "This property shall contain the size of diagnostic data in bytes for the log entry if the entry type is `DUMP`.", "readonly": true, "type": [ "integer", @@ -83,4 +83,4 @@ "owningEntity": "OpenBMC", "release": "1.0", "title": "#OemLogEntry.v1_0_0" -}
\ No newline at end of file +} diff --git a/static/redfish/v1/JsonSchemas/OemLogService/index.json b/static/redfish/v1/JsonSchemas/OemLogService/index.json index cc2981a0ff..5a9ba086d7 100644 --- a/static/redfish/v1/JsonSchemas/OemLogService/index.json +++ b/static/redfish/v1/JsonSchemas/OemLogService/index.json @@ -30,7 +30,22 @@ "additionalProperties": false, "description": "This action is used to trigger the creation of a dump.", "longDescription": "This action is used to trigger the creation of a dump.", - "parameters": {}, + "parameters": { + "DiagnosticDataType": { + "$ref": "#/definitions/DiagnosticDataType", + "description": "The type of diagnostic data entry", + "longDescription": "This property shall contain the type of diagnostic data entry.", + "readonly": true, + "requiredParameter": true + }, + "OEMDiagnosticDataType": { + "description": "The OEM type of diagnostic data entry", + "longDescription": "This property shall contain the OEM type of diagnostic data entry.", + "readonly": true, + "requiredParameter": true, + "type": "string" + } + }, "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.", @@ -57,6 +72,21 @@ } }, "type": "object" + }, + "DiagnosticDataType": { + "enum": [ + "Manager", + "PreOS", + "OS", + "OEM" + ], + "enumDescriptions": { + "Manager": "Indicates Manager diagnostic data.", + "OEM": "Indicates OEM diagnostic data.", + "OS": "Indicates Operating system(OS) diagnostic data.", + "PreOS": "Indicates Pre-OS diagnostic data." + }, + "type": "string" } }, "owningEntity": "OpenBMC", |