Initial implementation of processors and memory schema
This is an initial implementations of GET methods for
several schemas:
* ProcessorCollection
* Processor
* MemoryCollection
* Memory
It fetches data from Smbios service.
Tested:
* Compiance report
* Manual walk through selected schemas.
Change-Id: I11e00d0982248f2307e24b9a246ac60672dda8a1
Signed-off-by: Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com>
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 8a8b656..8c3885f 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -17,6 +17,7 @@
#include "../lib/account_service.hpp"
#include "../lib/chassis.hpp"
+#include "../lib/cpudimm.hpp"
#include "../lib/ethernet.hpp"
#include "../lib/log_services.hpp"
#include "../lib/managers.hpp"
@@ -85,6 +86,11 @@
#endif // BMCWEB_ENABLE_REDFISH_RAW_PECI
#endif // BMCWEB_ENABLE_REDFISH_CPU_LOG
+ nodes.emplace_back(std::make_unique<ProcessorCollection>(app));
+ nodes.emplace_back(std::make_unique<Processor>(app));
+ nodes.emplace_back(std::make_unique<MemoryCollection>(app));
+ nodes.emplace_back(std::make_unique<Memory>(app));
+
nodes.emplace_back(std::make_unique<SystemsCollection>(app));
nodes.emplace_back(std::make_unique<Systems>(app));
nodes.emplace_back(std::make_unique<SystemActionsReset>(app));