Implemented PATCH for EthernetInterface VLAN and HostName fields
Implemented PATCH request handling in EthernetInterface schema. Currently
only VLAN and HostName patching is implemented - IP changes will be introduced
in further patchsets.
This code does not change existing functionality - only expands it.
Tested on real hardware and x86 VM. Works fine, passes RedfishSchemaValidator.
Change-Id: I8de4ee5e859218823b07cc11845f7ef6782d7171
Signed-off-by: Kowalski, Kamil <kamil.kowalski@intel.com>
diff --git a/redfish-core/lib/thermal.hpp b/redfish-core/lib/thermal.hpp
index 506e320..9ebce13 100644
--- a/redfish-core/lib/thermal.hpp
+++ b/redfish-core/lib/thermal.hpp
@@ -49,7 +49,7 @@
const std::string& chassis_name = params[0];
res.json_value = Node::json;
- auto asyncResp = std::make_shared<AsyncResp>(
+ auto asyncResp = std::make_shared<SensorsAsyncResp>(
res, chassis_name,
std::initializer_list<const char*>{
"/xyz/openbmc_project/Sensors/fan",