summaryrefslogtreecommitdiff
path: root/static/redfish/v1
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2019-03-28 00:14:53 +0300
committerEd Tanous <ed.tanous@intel.com>2019-05-08 22:08:00 +0300
commitfbe8378fd5d8ee926f260ae71c877cc6a64a7594 (patch)
tree01ff21228c1df5ab4de1febebd4c621adb5f4e2c /static/redfish/v1
parent351d3063e86c5a6047c995ba72552bd82df86489 (diff)
downloadbmcweb-fbe8378fd5d8ee926f260ae71c877cc6a64a7594.tar.xz
Remove the static OpenBMC Message Registry file
This change removes the static OpenBMC Message Registry file and replaces it with a compile-time structure. Tested: Verified the OpenBMC Message registry is correctly returned from the existing endpoints without using the static files. Change-Id: I60ab3ce0d23c9ac7e91ebb85f445fb9ca731983d Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'static/redfish/v1')
-rw-r--r--static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json123
-rw-r--r--static/redfish/v1/Registries/OpenBMC/index.json20
2 files changed, 0 insertions, 143 deletions
diff --git a/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json b/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json
deleted file mode 100644
index 572061d502..0000000000
--- a/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json
+++ /dev/null
@@ -1,123 +0,0 @@
-{
- "@Redfish.Copyright": "Copyright 2018 Intel. All rights reserved.",
- "@odata.type": "#MessageRegistry.v1_0_0.MessageRegistry",
- "Id": "OpenBMC.0.1.0",
- "Name": "OpenBMC Message Registry",
- "Language": "en",
- "Description": "This registry defines the base messages for OpenBMC",
- "RegistryPrefix": "OpenBMC",
- "RegistryVersion": "0.1.0",
- "OwningEntity": "OpenBMC",
- "Messages": {
- "SensorThresholdCriticalLowGoingLow": {
- "Description": "Indicates that a threshold sensor has crossed a critical low threshold going low.",
- "Message": "%1 sensor crossed a critical low threshold going low. Reading=%2 Threshold=%3.",
- "Severity": "Critical",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "Check the sensor or subsystem for errors."
- },
- "SensorThresholdWarningLowGoingLow": {
- "Description": "Indicates that a threshold sensor has crossed a warning low threshold going low.",
- "Message": "%1 sensor crossed a warning low threshold going low. Reading=%2 Threshold=%3.",
- "Severity": "Warning",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "Check the sensor or subsystem for errors."
- },
- "SensorThresholdWarningHighGoingHigh": {
- "Description": "Indicates that a threshold sensor has crossed a warning high threshold going high.",
- "Message": "%1 sensor crossed a warning high threshold going high. Reading=%2 Threshold=%3.",
- "Severity": "Warning",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "Check the sensor or subsystem for errors."
- },
- "SensorThresholdCriticalHighGoingHigh": {
- "Description": "Indicates that a threshold sensor has crossed a critical high threshold going high.",
- "Message": "%1 sensor crossed a critical high threshold going high. Reading=%2 Threshold=%3.",
- "Severity": "Critical",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "Check the sensor or subsystem for errors."
- },
- "SensorThresholdCriticalLowGoingHigh": {
- "Description": "Indicates that a threshold sensor has crossed a critical low threshold going high.",
- "Message": "%1 sensor crossed a critical low threshold going high. Reading=%2 Threshold=%3.",
- "Severity": "OK",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "None."
- },
- "SensorThresholdWarningLowGoingHigh": {
- "Description": "Indicates that a threshold sensor has crossed a warning low threshold going high.",
- "Message": "%1 sensor crossed a warning low threshold going high. Reading=%2 Threshold=%3.",
- "Severity": "OK",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "None."
- },
- "SensorThresholdWarningHighGoingLow": {
- "Description": "Indicates that a threshold sensor has crossed a warning high threshold going low.",
- "Message": "%1 sensor crossed a warning high threshold going low. Reading=%2 Threshold=%3.",
- "Severity": "OK",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "None."
- },
- "SensorThresholdCriticalHighGoingLow": {
- "Description": "Indicates that a threshold sensor has crossed a critical high threshold going low.",
- "Message": "%1 sensor crossed a critical high threshold going low. Reading=%2 Threshold=%3.",
- "Severity": "OK",
- "NumberOfArgs": 3,
- "ParamTypes": [
- "string",
- "number",
- "number"
- ],
- "Resolution": "None."
- },
- "DCPowerOff": {
- "Description": "Indicates that the system DC power is off.",
- "Message": "Host system DC power is off",
- "Severity": "OK",
- "Resolution": "None.",
- "NumberOfArgs": 0
- },
- "DCPowerOn": {
- "Description": "Indicates that the system DC power is on.",
- "Message": "Host system DC power is on",
- "Severity": "OK",
- "Resolution": "None.",
- "NumberOfArgs": 0
- }
- }
-}
diff --git a/static/redfish/v1/Registries/OpenBMC/index.json b/static/redfish/v1/Registries/OpenBMC/index.json
deleted file mode 100644
index 1e0e3da58b..0000000000
--- a/static/redfish/v1/Registries/OpenBMC/index.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "@odata.context": "/redfish/v1/$metadata#MessageRegistryFile.MessageRegistryFile",
- "@odata.id": "/redfish/v1/Registries/OpenBMC",
- "@odata.type": "#MessageRegistryFile.v1_1_0.MessageRegistryFile",
- "Name": "OpenBMC MessageRegistry File",
- "Description": "OpenBMC MessageRegistry File Location",
- "Id": "OpenBMC",
- "Registry": "OpenBMC.0.1",
- "Languages": [
- "en"
- ],
- "Languages@odata.count": 1,
- "Location": [
- {
- "Language": "en",
- "Uri": "/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json"
- }
- ],
- "Location@odata.count": 1
-} \ No newline at end of file