From af8f791296511553e11643d0bbbd80dfe9cd30e3 Mon Sep 17 00:00:00 2001 From: James Feist Date: Fri, 29 Mar 2019 11:52:12 -0700 Subject: Fix OemManager schema for profiles Make schema pass validator. Found quite a few missing fields and odata.id issues. Tested: Passes validator Change-Id: Ibba92018d07a2a9f2ba833c295a235fee7845a97 Signed-off-by: James Feist --- .../redfish/v1/JsonSchemas/OemManager/index.json | 43 +++++++++- static/redfish/v1/schema/OemManager_v1.xml | 95 +++++++++++++--------- 2 files changed, 97 insertions(+), 41 deletions(-) (limited to 'static/redfish/v1') diff --git a/static/redfish/v1/JsonSchemas/OemManager/index.json b/static/redfish/v1/JsonSchemas/OemManager/index.json index bf69511645..5cc0b83d34 100644 --- a/static/redfish/v1/JsonSchemas/OemManager/index.json +++ b/static/redfish/v1/JsonSchemas/OemManager/index.json @@ -49,6 +49,14 @@ } ] }, + "Profile": { + "description": "Current thermal profile.", + "longDescription": "Current thermal profile.", + "type": [ + "string", + "null" + ] + }, "StepwiseControllers": { "anyOf": [ { @@ -115,6 +123,11 @@ "longDescription": "Input sensors to the PID controller.", "type": "array" }, + "NegativeHysteresis": { + "description": "Negative hysteresis for the controller.", + "longDescription": "Negative hysteresis for the controller.", + "type": "number" + }, "OutLimitMax": { "description": "Output limit maxiumum for the pwm.", "longDescription": "Output limit maxiumum for the pwm.", @@ -141,6 +154,11 @@ "longDescription": "Polynomial coefficent for the PID.", "type": "number" }, + "PositiveHysteresis": { + "description": "Positive hysteresis for the controller.", + "longDescription": "Positive hysteresis for the controller.", + "type": "number" + }, "SlewNeg": { "description": "Negative slew rate for the PID.", "longDescription": "Negative slew rate for the PID.", @@ -219,7 +237,7 @@ "longDescription": "If the sensors are in fail-safe mode, this is the percentage to use.", "type": "number" }, - "MinThermalRpm": { + "MinThermalOutput": { "description": "Minimum thermal RPM that can be set in this Zone.", "longDescription": "Minimum thermal RPM that can be set in this Zone.", "type": "number" @@ -360,6 +378,11 @@ "longDescription": "Input sensors to the PID controller.", "type": "array" }, + "NegativeHysteresis": { + "description": "Negative hysteresis for the controller.", + "longDescription": "Negative hysteresis for the controller.", + "type": "number" + }, "OutLimitMax": { "description": "Output limit maxiumum for the pwm.", "longDescription": "Output limit maxiumum for the pwm.", @@ -375,6 +398,16 @@ "longDescription": "Polynomial coefficent for the PID.", "type": "number" }, + "PositiveHysteresis": { + "description": "Positive hysteresis for the controller.", + "longDescription": "Positive hysteresis for the controller.", + "type": "number" + }, + "SetPoint": { + "description": "Setpoint for the PID.", + "longDescription": "Setpoint for the PID.", + "type": "number" + }, "SlewNeg": { "description": "Negative slew rate for the PID.", "longDescription": "Negative slew rate for the PID.", @@ -436,6 +469,14 @@ } }, "properties": { + "Direction": { + "description": "Direction that the stepwise controller applies.", + "longDescription": "Direction that the stepwise controller applies. Options include Ceiling and Floor.", + "type": [ + "string", + "null" + ] + }, "Inputs": { "description": "Input sensors to the Stepwise controller.", "items": { diff --git a/static/redfish/v1/schema/OemManager_v1.xml b/static/redfish/v1/schema/OemManager_v1.xml index 171855f3a7..164f2728b3 100644 --- a/static/redfish/v1/schema/OemManager_v1.xml +++ b/static/redfish/v1/schema/OemManager_v1.xml @@ -21,37 +21,41 @@ - + - + - + - - + + - + - - - - - + + + + + + + + - + + + - - + @@ -59,15 +63,14 @@ - + - + - - + @@ -75,15 +78,14 @@ - + - + - - + @@ -91,15 +93,14 @@ - + - + - - + @@ -107,13 +108,7 @@ - - - + @@ -150,6 +145,14 @@ + + + + + + + + @@ -166,30 +169,30 @@ - + - + - + - + - + @@ -226,10 +229,22 @@ + + + + + + + + + + + + @@ -238,7 +253,7 @@ - + @@ -269,7 +284,7 @@ - + -- cgit v1.2.3