Moving Redfish BMC match states keyword to another
library
Change-Id: I837a17f4155c34e7474112ea9e7011f3305b134a
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index 2ec9d85..3c4d06c 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -983,6 +983,18 @@
Log RC: ${RC}\nOutput:\n${output}
Should be equal ${RC} ${1}
+
+Redfish BMC Match States
+ [Documentation] Verify the BMC match state.
+ [Arguments] ${match_state}
+
+ # Description of argument(s):
+ # match_state Match the state of BMC.
+
+ ${bmc_state}= Redfish Get BMC State
+ Should Be Equal As Strings ${match_state} ${bmc_state}
+
+
Kernel Panic BMC Reset Operation
[Documentation] Create kernel panic to reset BMC.