summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2021-03-30 01:33:15 +0300
committerEd Tanous <ed@tanous.net>2021-04-03 00:31:35 +0300
commit8401529e4fb52caa1725caaa4777536f541d10e8 (patch)
tree7fcae44884c45ed68a9917872068e7f173d8b26b /static
parent400fd1fb4020028ad58b1cfd965f26d21f63b8c8 (diff)
downloadbmcweb-8401529e4fb52caa1725caaa4777536f541d10e8.tar.xz
log_services: Remove raw PECI command
The raw PECI command is recommended not to include in a standard build, so removing it from the bmcweb to avoid accidental inclusion. Tested: Confirmed that the raw PECI command is gone. Change-Id: I2b52e0ede089da6df6ca3ad304194de8af27b709 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'static')
-rw-r--r--static/redfish/v1/JsonSchemas/OemCrashdump/OemCrashdump.json120
-rw-r--r--static/redfish/v1/JsonSchemas/OemCrashdump/index.json20
-rw-r--r--static/redfish/v1/schema/OemCrashdump_v1.xml38
3 files changed, 0 insertions, 178 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemCrashdump/OemCrashdump.json b/static/redfish/v1/JsonSchemas/OemCrashdump/OemCrashdump.json
deleted file mode 100644
index 604b719546..0000000000
--- a/static/redfish/v1/JsonSchemas/OemCrashdump/OemCrashdump.json
+++ /dev/null
@@ -1,120 +0,0 @@
-{
- "$id": "http://redfish.dmtf.org/schemas/v1/OemCrashdump.v1_0_0.json",
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
- "copyright": "Copyright 2014-2019 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": {
- "#Crashdump.OnDemand": {
- "$ref": "#/definitions/OnDemand"
- },
- "#Crashdump.SendRawPeci": {
- "$ref": "#/definitions/SendRawPeci"
- }
- },
- "type": "object"
- },
- "OnDemand": {
- "additionalProperties": false,
- "description": "This action is used to trigger a new on-demand crashdump.",
- "longDescription": "This action is used to trigger a new on-demand crashdump which is returned immediately.",
- "parameters": {},
- "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"
- },
- "SendRawPeci": {
- "additionalProperties": false,
- "description": "This action is used to send a raw PECI command to the CPU.",
- "longDescription": "This action is used to send a raw PECI command to the CPU.",
- "parameters": {
- "ClientAddress": {
- "description": "PECI client address for the command.",
- "longDescription": "This defines the PECI client address that is the target for this command.",
- "requiredParameter": true,
- "type": "integer"
- },
- "PECICommand": {
- "description": "The raw bytes to be sent as the PECI command.",
- "items": {
- "type": "integer"
- },
- "longDescription": "This defines an array of raw data that is made up of the raw bytes of the PECI command to be sent.",
- "requiredParameter": true,
- "type": "array"
- },
- "ReadLength": {
- "description": "Read length parameter for the command",
- "longDescription": "This defines the read length parameter for this command.",
- "requiredParameter": true,
- "type": "integer"
- }
- },
- "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"
- }
- },
- "title": "#OemCrashdump.v1_0_0"
-}
diff --git a/static/redfish/v1/JsonSchemas/OemCrashdump/index.json b/static/redfish/v1/JsonSchemas/OemCrashdump/index.json
deleted file mode 100644
index 7a19e8efaf..0000000000
--- a/static/redfish/v1/JsonSchemas/OemCrashdump/index.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
- "@odata.id": "/redfish/v1/JsonSchemas/OemCrashdump",
- "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
- "Name": "Oem Crashdump Schema File",
- "Schema": "#OemCrashdump.OemCrashdump",
- "Description": "Oem Crashdump Schema File Location",
- "Id": "OemCrashdump",
- "Languages": [
- "en"
- ],
- "Languages@odata.count": 1,
- "Location": [
- {
- "Language": "en",
- "Uri": "/redfish/v1/JsonSchemas/OemCrashdump/OemCrashdump.json"
- }
- ],
- "Location@odata.count": 1
-}
diff --git a/static/redfish/v1/schema/OemCrashdump_v1.xml b/static/redfish/v1/schema/OemCrashdump_v1.xml
deleted file mode 100644
index 10e5ff6701..0000000000
--- a/static/redfish/v1/schema/OemCrashdump_v1.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
- <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
- <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData" />
- </edmx:Reference>
- <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogService_v1.xml">
- <edmx:Include Namespace="LogService"/>
- <edmx:Include Namespace="LogService.v1_0_0"/>
- </edmx:Reference>
-
- <edmx:DataServices>
- <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemCrashdump.v1_0_0">
- <Action Name="OnDemand" IsBound="true">
- <Parameter Name="LogService" Type="LogService.v1_0_0.OemActions"/>
- <Annotation Term="OData.Description" String="This action is used to trigger a new on-demand crashdump." />
- <Annotation Term="OData.LongDescription" String="This action is used to trigger a new on-demand crashdump which is returned immediately." />
- </Action>
-
- <Action Name="SendRawPeci" IsBound="true">
- <Parameter Name="LogService" Type="LogService.v1_0_0.OemActions"/>
- <Parameter Name="ClientAddress" Type="Edm.Int64" Nullable="false">
- <Annotation Term="OData.Description" String="PECI client address for the command." />
- <Annotation Term="OData.LongDescription" String="This defines the PECI client address that is the target for this command." />
- </Parameter>
- <Parameter Name="ReadLength" Type="Edm.Int64" Nullable="false">
- <Annotation Term="OData.Description" String="Read length parameter for the command" />
- <Annotation Term="OData.LongDescription" String="This defines the read length parameter for this command." />
- </Parameter>
- <Parameter Name="PECICommand" Type="Collection(Edm.Int64)" Nullable="false">
- <Annotation Term="OData.Description" String="The raw bytes to be sent as the PECI command." />
- <Annotation Term="OData.LongDescription" String="This defines an array of raw data that is made up of the raw bytes of the PECI command to be sent." />
- </Parameter>
- <Annotation Term="OData.Description" String="This action is used to send a raw PECI command to the CPU." />
- <Annotation Term="OData.LongDescription" String="This action is used to send a raw PECI command to the CPU." />
- </Action>
- </Schema>
- </edmx:DataServices>
-</edmx:Edmx>