From b943aaef12ecfa575f15d2066dd85a4e492c8a59 Mon Sep 17 00:00:00 2001 From: James Feist Date: Thu, 11 Jul 2019 16:33:56 -0700 Subject: Add SetPointOffset To Refish This allows adding a threshold as a setpoint offset so that dynamic thresholds can be used to modify a setpoint. Tested: Get and Patch worked { "Oem": { "OpenBmc": { "Fan": { "PidControllers": { "CPU1_DIMM_ABC": { "SetPointOffset": "UpperThresholdCritical" } } } } } } Change-Id: If515971778a8041aba0ab51da87ec5b29ebc359d Signed-off-by: James Feist --- static/redfish/v1/JsonSchemas/OemManager/index.json | 7 ++++++- static/redfish/v1/schema/OemManager_v1.xml | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/redfish/v1/JsonSchemas/OemManager/index.json b/static/redfish/v1/JsonSchemas/OemManager/index.json index 5cc0b83..107621e 100644 --- a/static/redfish/v1/JsonSchemas/OemManager/index.json +++ b/static/redfish/v1/JsonSchemas/OemManager/index.json @@ -408,6 +408,11 @@ "longDescription": "Setpoint for the PID.", "type": "number" }, + "SetPointOffset": { + "description": "Threshold to take value from and apply to setpoint.", + "longDescription": "Threshold to take value from and apply to setpoint. Valid threshold names are supported.", + "type": "string" + }, "SlewNeg": { "description": "Negative slew rate for the PID.", "longDescription": "Negative slew rate for the PID.", @@ -578,4 +583,4 @@ } }, "title": "#OemManager" -} \ No newline at end of file +} diff --git a/static/redfish/v1/schema/OemManager_v1.xml b/static/redfish/v1/schema/OemManager_v1.xml index 164f272..9ae36ca 100644 --- a/static/redfish/v1/schema/OemManager_v1.xml +++ b/static/redfish/v1/schema/OemManager_v1.xml @@ -245,6 +245,10 @@ + + + + -- cgit v1.2.3