summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2021-06-04 00:55:44 +0300
committerEd Tanous <ed@tanous.net>2021-06-09 20:15:10 +0300
commitb8983957a045878b0776411990be9059ed7f74c0 (patch)
treeec300784f358444816dbd5200f9bf5ce58cdb64c /redfish-core/include/redfish.hpp
parentfaa34ccff8ab4f2f6d8b848a9a229efe09e5fca2 (diff)
downloadbmcweb-b8983957a045878b0776411990be9059ed7f74c0.tar.xz
Move the hypervisor endpoints into a namespace
The /redfish/v1/systems/hypervisor endpoints seem to have copy/pasted a lot of code from ethernet.hpp, including all the function naming. This is causing naming conflicts as part of removing the Node class. For the moment, just put these methods into the redfish::hypervisor namespace, along with a comment, so we can at least get code that builds. At some point in the future we can deduplicate the duplicated code, and give the unique things unique method names so we don't have collisions and this can be undone. Tested: Ran redfish service validator on 42a9e0ee96ef1928732ffd8d567ad656a4f41887 No change in behavior, one failure on Manager UUID that appears unrelated. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I0d715ed3bf04a86a93eb7842804319568083f86d
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index e755c8143b..6dff5fddbe 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -198,7 +198,7 @@ class RedfishService
requestRoutesEventDestination(app);
requestRoutesSubmitTestEvent(app);
- requestRoutesHypervisorSystems(app);
+ hypervisor::requestRoutesHypervisorSystems(app);
requestRoutesTelemetryService(app);
requestRoutesMetricReportDefinitionCollection(app);