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 <james.feist@linux.intel.com>
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
+}