Implement Computer System reset action
This commit adds the ComputerSystem.Reset action to the redfish
interface.
Tested by:
Ran compliance tool, and it appeared to pass. Also ran POST on the
interface, and observed the system reset.
Change-Id: Ie39bf9d1c78fe0688f4fee22b1ecf91268f2242c
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 7f41b63..6e990c9 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -66,6 +66,7 @@
std::make_unique<VlanNetworkInterfaceCollection>(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));
for (auto& node : nodes)
{