Update system power on target
Changes:
- Update documentation fix.
- Update target location.
Change-Id: Iecd67cd481b68d5400b2b4d44101469d231d9dab
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish_utils.robot b/lib/bmc_redfish_utils.robot
index 3d6c39d..3b6cb4c 100644
--- a/lib/bmc_redfish_utils.robot
+++ b/lib/bmc_redfish_utils.robot
@@ -23,12 +23,13 @@
# "GracefulRestart",
# "GracefulShutdown"
# ],
- # "target": "/redfish/v1/Systems/motherboard/Actions/ComputerSystem.Reset"
- # }}
+ # "target": "/redfish/v1/Systems/system/Actions/ComputerSystem.Reset"
+ # }
+ # }
redfish.Login
${payload}= Create Dictionary ResetType=${reset_type}
- ${resp}= redfish.Post Systems/1/Actions/ComputerSystem.Reset body=&{payload}
+ ${resp}= redfish.Post Systems/system/Actions/ComputerSystem.Reset body=&{payload}
Should Be Equal As Strings ${resp.status} ${HTTP_OK}
redfish.Logout