summaryrefslogtreecommitdiffstats
path: root/redfish-core/include
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2018-12-18 16:51:18 -0800
committerEd Tanous <ed.tanous@intel.com>2019-07-11 01:26:07 +0000
commitf5c9f8bda365b90c978a95738b66419ad21df27f (patch)
tree7a4f6a1c75a9312323fd099de3d06edfb829430e /redfish-core/include
parent7052517fd63c5ed8bd16bc5225c4992a23a176f6 (diff)
downloadbmcweb-f5c9f8bda365b90c978a95738b66419ad21df27f.tar.gz
bmcweb-f5c9f8bda365b90c978a95738b66419ad21df27f.zip
Add Redfish PCIe information
This adds the capability to get PCIe device information from D-Bus and display it in the appropriate Redfish PCIeDevice and PCIeFunction objects. Tested: Passed the Redfish validator for the new PCIeDevice and PCIeFunction objects. Change-Id: I06f3b0e7d283e48d2235b7d34f78f603b22de79f Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'redfish-core/include')
-rw-r--r--redfish-core/include/redfish.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 44cc74c..21d6500 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -24,6 +24,7 @@
#include "../lib/managers.hpp"
#include "../lib/message_registries.hpp"
#include "../lib/network_protocol.hpp"
+#include "../lib/pcie.hpp"
#include "../lib/power.hpp"
#include "../lib/redfish_sessions.hpp"
#include "../lib/roles.hpp"
@@ -132,6 +133,10 @@ class RedfishService
nodes.emplace_back(std::make_unique<HTTPSCertificate>(app));
nodes.emplace_back(std::make_unique<LDAPCertificateCollection>(app));
nodes.emplace_back(std::make_unique<LDAPCertificate>(app));
+
+ nodes.emplace_back(std::make_unique<SystemPCIeFunction>(app));
+ nodes.emplace_back(std::make_unique<SystemPCIeDevice>(app));
+
for (const auto& node : nodes)
{
node->initPrivileges();
OpenPOWER on IntegriCloud