summaryrefslogtreecommitdiff
path: root/redfish-core/include
diff options
context:
space:
mode:
authorJennifer Lee <jennifer1.lee@intel.com>2018-04-25 01:59:34 +0300
committerEd Tanous <ed.tanous@intel.com>2018-06-29 21:49:09 +0300
commit729dae72826e58134ca4e49587427703ad0286db (patch)
treec3f376786bce65a7838878dc7e14bf8077b6660e /redfish-core/include
parenta4e18f2a2b1652b378bf2e182a13595e05e66881 (diff)
downloadbmcweb-729dae72826e58134ca4e49587427703ad0286db.tar.xz
Added UpdateService to Redfish
- Implemented SoftwareInventoryCollection - Implemented SoftwareInventory Currently DBus supports BMC FW version only, so only BMC is listed in the invetory. Change-Id: I28a151b2b1cd98573ec93234717eae5eaf95058c Signed-off-by: Jennifer Lee <jennifer1.lee@intel.com>
Diffstat (limited to 'redfish-core/include')
-rw-r--r--redfish-core/include/redfish.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index aa25a44e64..835cc5d07f 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -16,14 +16,15 @@
#pragma once
#include "../lib/account_service.hpp"
+#include "../lib/chassis.hpp"
+#include "../lib/ethernet.hpp"
#include "../lib/managers.hpp"
#include "../lib/network_protocol.hpp"
#include "../lib/redfish_sessions.hpp"
#include "../lib/roles.hpp"
#include "../lib/service_root.hpp"
-#include "../lib/ethernet.hpp"
#include "../lib/thermal.hpp"
-#include "../lib/chassis.hpp"
+#include "../lib/update_service.hpp"
#include "webserver_common.hpp"
namespace redfish {
@@ -53,7 +54,9 @@ class RedfishService {
nodes.emplace_back(std::make_unique<ManagerCollection>(app));
nodes.emplace_back(std::make_unique<ChassisCollection>(app));
nodes.emplace_back(std::make_unique<Chassis>(app));
-
+ nodes.emplace_back(std::make_unique<UpdateService>(app));
+ nodes.emplace_back(std::make_unique<SoftwareInventoryCollection>(app));
+ nodes.emplace_back(std::make_unique<SoftwareInventory>(app));
for (auto& node : nodes) {
node->getSubRoutes(nodes);
}