diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-08-29 23:43:38 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-09-13 00:19:22 +0300 |
commit | cc340dd933d38095214a0eeb7c1ee77510bd30cd (patch) | |
tree | 847eea4212f33c7cda00004fc00c40d6923ee552 /redfish-core/include | |
parent | 6617338d0ea67b981476dc6c0ed0b5c314e6c18d (diff) | |
download | bmcweb-cc340dd933d38095214a0eeb7c1ee77510bd30cd.tar.xz |
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>
Diffstat (limited to 'redfish-core/include')
-rw-r--r-- | redfish-core/include/redfish.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp index 7f41b6339f..6e990c9fd8 100644 --- a/redfish-core/include/redfish.hpp +++ b/redfish-core/include/redfish.hpp @@ -66,6 +66,7 @@ class RedfishService 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) { |