diff options
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r-- | redfish-core/include/redfish.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp index 6dff5fddbe..0f43a36c35 100644 --- a/redfish-core/include/redfish.hpp +++ b/redfish-core/include/redfish.hpp @@ -69,8 +69,7 @@ class RedfishService requestRoutesServiceRoot(app); requestRoutesNetworkProtocol(app); requestRoutesSession(app); - nodes.emplace_back(std::make_unique<EthernetCollection>(app)); - nodes.emplace_back(std::make_unique<EthernetInterface>(app)); + requestEthernetInterfacesRoutes(app); requestRoutesThermal(app); requestRoutesManagerCollection(app); requestRoutesManager(app); @@ -91,9 +90,6 @@ class RedfishService #endif requestRoutesSoftwareInventoryCollection(app); requestRoutesSoftwareInventory(app); - nodes.emplace_back( - std::make_unique<VlanNetworkInterfaceCollection>(app)); - nodes.emplace_back(std::make_unique<VlanNetworkInterface>(app)); requestRoutesSystemLogServiceCollection(app); requestRoutesEventLogService(app); |