summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redfish-core/lib/ethernet.hpp4
-rw-r--r--redfish-core/lib/hypervisor_system.hpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/redfish-core/lib/ethernet.hpp b/redfish-core/lib/ethernet.hpp
index 97262e322d..0d3ba7a357 100644
--- a/redfish-core/lib/ethernet.hpp
+++ b/redfish-core/lib/ethernet.hpp
@@ -1769,10 +1769,8 @@ inline void requestEthernetInterfacesRoutes(App& app)
return;
}
- // Keep using the v1.6.0 schema here as currently bmcweb have to use
- // "VLANs" property deprecated in v1.7.0 for VLAN creation/deletion.
asyncResp->res.jsonValue["@odata.type"] =
- "#EthernetInterface.v1_6_0.EthernetInterface";
+ "#EthernetInterface.v1_9_0.EthernetInterface";
asyncResp->res.jsonValue["Name"] = "Manager Ethernet Interface";
asyncResp->res.jsonValue["Description"] =
"Management Network Interface";
diff --git a/redfish-core/lib/hypervisor_system.hpp b/redfish-core/lib/hypervisor_system.hpp
index 64bcbbadba..bf5b5efc18 100644
--- a/redfish-core/lib/hypervisor_system.hpp
+++ b/redfish-core/lib/hypervisor_system.hpp
@@ -782,7 +782,7 @@ inline void handleHypervisorEthernetInterfaceGet(
return;
}
asyncResp->res.jsonValue["@odata.type"] =
- "#EthernetInterface.v1_6_0.EthernetInterface";
+ "#EthernetInterface.v1_9_0.EthernetInterface";
asyncResp->res.jsonValue["Name"] = "Hypervisor Ethernet Interface";
asyncResp->res.jsonValue["Description"] =
"Hypervisor's Virtual Management Ethernet Interface";