diff options
| author | Rapkiewicz, Pawel <pawel.rapkiewicz@intel.com> | 2018-10-22 15:08:49 +0200 |
|---|---|---|
| committer | Ed Tanous <ed.tanous@intel.com> | 2018-11-02 22:43:35 +0000 |
| commit | 443c2934ac1ae86b6d496e3509e2b8acf283fb18 (patch) | |
| tree | 29b5cad9a40dcc699702d8f832cd4a520029c225 /redfish-core/include | |
| parent | 049a051505981a9f1d07c980391e301ae7d0b3a1 (diff) | |
| download | bmcweb-443c2934ac1ae86b6d496e3509e2b8acf283fb18.tar.gz bmcweb-443c2934ac1ae86b6d496e3509e2b8acf283fb18.zip | |
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>
Diffstat (limited to 'redfish-core/include')
| -rw-r--r-- | redfish-core/include/redfish.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ class RedfishService #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)); |

