Added keywords for dump and BMC state
Changes:
- Added keyword
"Redfish Get All System Dumps"
"Redfish Verify BMC State"
Tested:
- Ran successfully
Redfish Get All System Dumps
Redfish Verify BMC State
Change-Id: Iaf0b1fac7adf17300a0a2bec4a80943a3a7d00f7
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/dump_utils.robot b/lib/dump_utils.robot
index cc26705..9939194 100644
--- a/lib/dump_utils.robot
+++ b/lib/dump_utils.robot
@@ -156,7 +156,7 @@
Redfish Delete BMC Dump
- [Documentation] Deletes a given BMC dump via Redfish..
+ [Documentation] Deletes a given BMC dump via Redfish.
[Arguments] ${dump_id}
# Description of Argument(s):
@@ -175,6 +175,14 @@
Redfish.Post /redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Actions/LogService.ClearLog
+Redfish Get All System Dumps
+ [Documentation] Get the system dump log entries.
+
+ ${resp}= Redfish.Get ${REDFISH_SYSTEM_DUMP}
+
+ [Return] ${resp.dict}
+
+
Get Redfish BMC Dump Log Entries
[Documentation] Get the BMC dump log entries.