From a32d8996ae54fd4efc920269604be45f48f53223 Mon Sep 17 00:00:00 2001 From: "Jason M. Bills" Date: Fri, 2 Nov 2018 13:18:40 -0700 Subject: Add the Redfish message registries This change adds the message registries used by bmcweb. It includes the OEM OpenBMC.0.1.0 message registry and the DMTF Base.1.4.0 message registry for reference. Tested: Ran the Redfish Service Validator and got passing results for the MessageRegistryCollection and the two MessageRegsitryFiles. Change-Id: I3e5756103006f065530253b5dbc0d7720cf616b9 Signed-off-by: Jason M. Bills --- .../v1/Registries/OpenBMC/OpenBMC.0.1.0.json | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json (limited to 'static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json') diff --git a/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json b/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json new file mode 100644 index 0000000000..b01b9d70dc --- /dev/null +++ b/static/redfish/v1/Registries/OpenBMC/OpenBMC.0.1.0.json @@ -0,0 +1,109 @@ +{ + "@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." + } + } +} \ No newline at end of file -- cgit v1.2.3