summaryrefslogtreecommitdiff
path: root/static/redfish/v1/JsonSchemas
diff options
context:
space:
mode:
authorAsmitha Karunanithi <asmitk01@in.ibm.com>2020-09-21 18:34:02 +0300
committerAsmitha Karunanithi <asmitk01@in.ibm.com>2020-09-27 11:15:45 +0300
commitd337bb7249e6791d7fc3769e3d8e1ed64c563608 (patch)
treecce6fc703d768cc65a628be6e6ba58e795e2247d /static/redfish/v1/JsonSchemas
parent50626f4f1aaa02daae058617ce0c603874277322 (diff)
downloadbmcweb-d337bb7249e6791d7fc3769e3d8e1ed64c563608.tar.xz
Remove OEM schemas and related code for Dump LogServices
In this commit, Oem schemas for Dump LogServices are removed as per the latest Redfish schemas. Also, the code is changed w.r.t the latest schema changes. Redfish Validator Passed. Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: I12c8d283cd54c32e71a2b11857e7c4cce89b9f0a
Diffstat (limited to 'static/redfish/v1/JsonSchemas')
-rw-r--r--static/redfish/v1/JsonSchemas/OemLogEntry/index.json86
-rw-r--r--static/redfish/v1/JsonSchemas/OemLogService/index.json95
2 files changed, 0 insertions, 181 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemLogEntry/index.json b/static/redfish/v1/JsonSchemas/OemLogEntry/index.json
deleted file mode 100644
index b38ac51b91..0000000000
--- a/static/redfish/v1/JsonSchemas/OemLogEntry/index.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "$id": "http://redfish.dmtf.org/schemas/v1/OemLogEntry.v1_0_0.json",
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
- "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
- "definitions": {
- "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"
- },
- "OpenBmc": {
- "additionalProperties": true,
- "description": "Oem properties for OpenBmc.",
- "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.",
- "type": [
- "array",
- "boolean",
- "integer",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "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 type is `DUMP`.",
- "readonly": true,
- "type": [
- "integer",
- "null"
- ]
- },
- "AdditionalDataURI": {
- "description": "The offload URI of the diagnostic data if the entry type is `DUMP`.",
- "longDescription": "This property shall contain the offload URI of the diagnostic data if the entry type is `DUMP`.",
- "readonly": true,
- "type": [
- "string",
- "null"
- ]
- },
- "DiagnosticDataType": {
- "anyOf": [
- {
- "$ref": "#/definitions/DiagnosticDataType"
- },
- {
- "type": "null"
- }
- ],
- "description": "The type of diagnostic data entry",
- "longDescription": "This property shall contain the type of diagnostic data entry.",
- "readonly": true
- },
- "OEMDiagnosticDataType": {
- "description": "The OEM type of diagnostic data entry",
- "longDescription": "This property shall contain the OEM type of diagnostic data entry.",
- "readonly": true,
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- }
- },
- "owningEntity": "OpenBMC",
- "release": "1.0",
- "title": "#OemLogEntry.v1_0_0"
-}
diff --git a/static/redfish/v1/JsonSchemas/OemLogService/index.json b/static/redfish/v1/JsonSchemas/OemLogService/index.json
deleted file mode 100644
index 5a9ba086d7..0000000000
--- a/static/redfish/v1/JsonSchemas/OemLogService/index.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "$id": "http://redfish.dmtf.org/schemas/v1/OemLogService.v1_0_0.json",
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
- "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
- "definitions": {
- "Actions": {
- "additionalProperties": false,
- "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.",
- "type": [
- "array",
- "boolean",
- "integer",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {
- "#OemLogService.CollectDiagnosticData": {
- "$ref": "#/definitions/CollectDiagnosticData"
- }
- },
- "type": "object"
- },
- "CollectDiagnosticData": {
- "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": {
- "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.",
- "type": [
- "array",
- "boolean",
- "integer",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {
- "target": {
- "description": "Link to invoke action",
- "format": "uri-reference",
- "type": "string"
- },
- "title": {
- "description": "Friendly action name",
- "type": "string"
- }
- },
- "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",
- "release": "1.0",
- "title": "#OemLogService.v1_0_0"
-}