Redfish v1 boot state mapping update for boot table JSON
Changes:
- Update boot table to redfish mapping state
- Added GET current active session info for reference
Change-Id: I3f59919485cddbf2f272845d652443133da1efce
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish_utils.robot b/lib/bmc_redfish_utils.robot
index fedbe3d..eb19aa8 100644
--- a/lib/bmc_redfish_utils.robot
+++ b/lib/bmc_redfish_utils.robot
@@ -48,6 +48,9 @@
# "target": "/redfish/v1/Managers/bmc/Actions/Manager.Reset"
# }
+ ${session_info}= Redfish.Get Session Info
+ Log ${session_info}
+
${target}= redfish_utils.Get Target Actions /redfish/v1/Managers/bmc/ Manager.Reset
${payload}= Create Dictionary ResetType=GracefulRestart
Redfish.Post ${target} body=&{payload}