summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 62c7ad8f92..f8524aca57 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -40,6 +40,7 @@
#ifdef BMCWEB_ENABLE_VM_NBDPROXY
#include "../lib/virtual_media.hpp"
#endif // BMCWEB_ENABLE_VM_NBDPROXY
+#include "../lib/hypervisor_ethernet.hpp"
#include "webserver_common.hpp"
namespace redfish
@@ -171,6 +172,7 @@ class RedfishService
nodes.emplace_back(std::make_unique<SensorCollection>(app));
nodes.emplace_back(std::make_unique<Sensor>(app));
+
nodes.emplace_back(std::make_unique<TaskMonitor>(app));
nodes.emplace_back(std::make_unique<TaskService>(app));
nodes.emplace_back(std::make_unique<TaskCollection>(app));
@@ -178,6 +180,11 @@ class RedfishService
nodes.emplace_back(std::make_unique<EventService>(app));
nodes.emplace_back(std::make_unique<EventDestinationCollection>(app));
nodes.emplace_back(std::make_unique<EventDestination>(app));
+
+ nodes.emplace_back(
+ std::make_unique<HypervisorInterfaceCollection>(app));
+ nodes.emplace_back(std::make_unique<HypervisorSystem>(app));
+
for (const auto& node : nodes)
{
node->initPrivileges();