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>
diff --git a/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/interfaces/bmcweb_%.bbappend
index 7c1d3f2..e43be7d 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 @@
      -Dbmcweb-logging=enabled \
      -Dredfish-bmc-journal=enabled \
      -Dhttp-body-limit=65 \
+     -Dredfish-new-powersubsystem-thermalsubsystem=enabled \
+     -Dredfish-allow-deprecated-power-thermal=disabled \
      "