Added variable for keyword timeout

Changes:
   - Added variable for keyword timeout

Tested:
   - Ran successfully
     Redfish Get States.

Change-Id: I040fec611c48340901b7f2adc7d3a4a4639850e1
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 7be72b3..eeeb9a0 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -39,6 +39,7 @@
 ${bmc_power_policy_method}        ${EMPTY}
 @{BOOT_PROGRESS_STATES}           SystemHardwareInitializationComplete  OSBootStarted  OSRunning
 
+${REDFISH_SYS_STATE_WAIT_TIMEOUT}    120 Seconds
 
 *** Keywords ***
 
@@ -955,7 +956,7 @@
 
 Redfish Get States
     [Documentation]  Return all the BMC and host states in dictionary.
-    [Timeout]  120 Seconds
+    [Timeout]  ${REDFISH_SYS_STATE_WAIT_TIMEOUT}
 
     # Refer: openbmc/docs/designs/boot-progress.md