summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-common
diff options
context:
space:
mode:
authorThang Tran <thuutran@amperecomputing.com>2023-07-31 06:23:07 +0300
committerThang Tran <thuutran@amperecomputing.com>2023-07-31 06:23:07 +0300
commit9422b6ec3f969f0bebc987191ecdd776815d8bce (patch)
tree659bf341714622d7fcee7c3775eee491074e9ce1 /meta-ampere/meta-common
parent7fc10f7efec9475bcc69bf55bbf798e314ffa4a5 (diff)
downloadopenbmc-9422b6ec3f969f0bebc987191ecdd776815d8bce.tar.xz
meta-ampere: bmcweb: replace deprecated schemas with new schemas
In the Redfish Data Model Specification, it deprecated Power and Thermal schemas from v1.7 version (release on 2020.4). It used PowerSubsystem and ThermalSubsystem instead. This commit replaces deprecated Power/Thermal schemas with PowerSubsystem/ThermalSubsystem schemas. Tested: 1. The /redfish/v1/Chassis/<ChassisId>/<Power | Thermal> schemas have been removed. 2. The /redfish/v1/Chassis/<ChassisId>/<PowerSubsystem | ThermalSubsystem> schemas have been added. Change-Id: I4868cde726c07f68fc94986d9659fc9377bdaf5e Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
Diffstat (limited to 'meta-ampere/meta-common')
-rw-r--r--meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend
index 7c1d3f2242..e43be7d258 100644
--- a/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend
+++ b/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend
@@ -5,4 +5,6 @@ EXTRA_OEMESON:append = " \
-Dbmcweb-logging=enabled \
-Dredfish-bmc-journal=enabled \
-Dhttp-body-limit=65 \
+ -Dredfish-new-powersubsystem-thermalsubsystem=enabled \
+ -Dredfish-allow-deprecated-power-thermal=disabled \
"