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.
diff --git a/lib/external_intf/management_console_utils.robot b/lib/external_intf/management_console_utils.robot
index 9af6c70..c95c25a 100644
--- a/lib/external_intf/management_console_utils.robot
+++ b/lib/external_intf/management_console_utils.robot
@@ -2,6 +2,7 @@
Documentation Management console utilities keywords.
Resource ../../lib/bmc_redfish_utils.robot
+Resource ../../lib/common_utils.robot
Library ../../lib/gen_robot_valid.py
Library Collections
Library ../../lib/bmc_ssh_utils.py
@@ -125,14 +126,3 @@
[Return] ${resource_lock_json}
-
-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}
-