summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-07-12 02:33:56 +0300
committerEd Tanous <ed.tanous@intel.com>2019-07-31 01:08:02 +0300
commitb943aaef12ecfa575f15d2066dd85a4e492c8a59 (patch)
tree1fe5a0d00b7aac8e7a5d0226a018dee3fa346a22 /static
parentc62667f65514cd422d3817e11888d59258931b4e (diff)
downloadbmcweb-b943aaef12ecfa575f15d2066dd85a4e492c8a59.tar.xz
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>
Diffstat (limited to 'static')
-rw-r--r--static/redfish/v1/JsonSchemas/OemManager/index.json7
-rw-r--r--static/redfish/v1/schema/OemManager_v1.xml4
2 files changed, 10 insertions, 1 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemManager/index.json b/static/redfish/v1/JsonSchemas/OemManager/index.json
index 5cc0b83d34..107621e45f 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 164f2728b3..9ae36ca464 100644
--- a/static/redfish/v1/schema/OemManager_v1.xml
+++ b/static/redfish/v1/schema/OemManager_v1.xml
@@ -245,6 +245,10 @@
<Annotation Term="OData.Description" String="Setpoint for the PID." />
<Annotation Term="OData.LongDescription" String="Setpoint for the PID." />
</Property>
+ <Property Name="SetPointOffset" Type="Edm.String" Nullable="false">
+ <Annotation Term="OData.Description" String="Threshold to take value from and apply to setpoint." />
+ <Annotation Term="OData.LongDescription" String="Threshold to take value from and apply to setpoint. Valid threshold names are supported." />
+ </Property>
<Property Name="SlewNeg" Type="Edm.Decimal" Nullable="false">
<Annotation Term="OData.Description" String="Negative slew rate for the PID." />
<Annotation Term="OData.LongDescription" String="Negative slew rate for the PID." />