IPMI: Changed Chassis Identify URI in test_ipmi_general.robot
Changes:
- In test_ipmi_general.robot changed LED URI as LocationIndicatorActive and its attribute as True/False
Tested:
- Ran ipmi/test_ipmi_general.robot script Successfully
Change-Id: I8e568037f716118089507a6ac46bc75648d3f06d
Signed-off-by: manimozhik <manimozhik@ami.com>
diff --git a/ipmi/test_ipmi_general.robot b/ipmi/test_ipmi_general.robot
index 60c6178..41ce4d1 100644
--- a/ipmi/test_ipmi_general.robot
+++ b/ipmi/test_ipmi_general.robot
@@ -207,17 +207,17 @@
# Set to default "chassis identify" and verify that LED blinks for 15s.
Run IPMI Standard Command chassis identify
- Verify Identify LED State Via Redfish Lit
+ Verify Identify LED State Via Redfish True
Sleep 18s
- Verify Identify LED State Via Redfish Off
+ Verify Identify LED State Via Redfish False
# Set "chassis identify" to 10s and verify that the LED blinks for 10s.
Run IPMI Standard Command chassis identify 10
- Verify Identify LED State Via Redfish Lit
+ Verify Identify LED State Via Redfish True
Sleep 12s
- Verify Identify LED State Via Redfish Off
+ Verify Identify LED State Via Redfish False
Verify Chassis Identify Off And Force Identify On via IPMI
@@ -228,11 +228,11 @@
# Set the LED to "Force Identify On".
Run IPMI Standard Command chassis identify force
- Verify Identify LED State Via Redfish Lit
+ Verify Identify LED State Via Redfish True
# Set "chassis identify" to 0 and verify that the LED turns off.
Run IPMI Standard Command chassis identify 0
- Verify Identify LED State Via Redfish Off
+ Verify Identify LED State Via Redfish False
Set Power Cap Value Via IPMI And Verify Using Redfish
@@ -366,7 +366,7 @@
# Python module: get_member_list(resource_path)
${systems}= Redfish_Utils.Get Member List /redfish/v1/Systems
FOR ${system} IN @{systems}
- ${led_value}= Redfish.Get Attribute ${system} IndicatorLED
+ ${led_value}= Redfish.Get Attribute ${system} LocationIndicatorActive
# Get attribute return None if IndicatorLED does not exist in the URI.
Continue For Loop If '${led_value}' == 'None'
Should Be True '${led_value}' == '${expected_state}'