summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2022-08-05 20:01:32 +0300
committerEd Tanous <ed@tanous.net>2022-08-10 17:38:26 +0300
commit54dce7f5d81a1f89061d19bdae657625273d5faa (patch)
tree66bdc2a9eb71015874e13421de3a01909c7dc720 /meson_options.txt
parent351053f210e8b233f680bde66d9ea9760c22d848 (diff)
downloadbmcweb-54dce7f5d81a1f89061d19bdae657625273d5faa.tar.xz
Add redfish-oem-manager-fan-data option
IBM doesn't use the Redfish OEM fan data in OemManager. IBM does not use phosphor-pid-control instead using phosphor-fan-presence and such. This is data such as PidControllers, StepwiseControllers, FanZones, FanControllers, and Profile. This has been in bmcweb since Oct 2018 so defaulting this flag to enabled to not break anyone. Why we want a flag: 1) Have observed 500 errors with getting the thermalMode. "Jan 24 16:34:57 rain534 bmcweb[435]: (2022-01-24 16:34:57) [ERROR "managers.hpp":1196] GetPIDValues: Can't get thermalModeIface /xyz/openbmc_project/control/thermal/0" 2) This Redfish OEM fan data includes PATCHing. Commit turning this off in meta-ibm: https://gerrit.openbmc.org/c/openbmc/openbmc/+/56327 Tested: With this flag enabled and disabled. Manager resource looks as expected. Before on a dummy PATCH to this: curl -k -X PATCH https://$bmc/redfish/v1/Managers/bmc -d \ '{"Oem":{"OpenBmc":{"Fan":{"Profile":"Acoustic"}}}}' { "error": { "@Message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The request failed due to an internal service... With this change and the meta-ibm change (instead see a PropertyUnknown) curl -k -X PATCH https://$bmc/redfish/v1/Managers/bmc -d \ '{"Oem":{"OpenBmc":{"Fan":{"Profile" : "Acoustic"} }}}' { "error": { "@Message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The property %1 is not in the list of valid... "MessageArgs": [ "Oem" ], "MessageId": "Base.1.13.0.PropertyUnknown", PATCHed the DateTime with this enabled. Change-Id: I374292ca2798e096b18d49df5bbc7a93c7f1c400 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index a32a4a4f99..ecc7aebc22 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -224,6 +224,15 @@ option(
)
option(
+ 'redfish-oem-manager-fan-data',
+ type: 'feature',
+ value: 'enabled',
+ description: '''Enables Redfish OEM fan data on the manager resource.
+ This includes PID and Stepwise controller data. See
+ OemManager schema for more detail.'''
+)
+
+option(
'https_port',
type: 'integer',
min: 1,