IPMI/DCMI: Modified script based on user input

Changes:
    - Modified script based on user input
Tested:
    - Ran ipmi/ and ipmi/dcmi

Change-Id: Ic9d6e29ae199cffb6009e6718ae499293c319c96
Signed-off-by: Ishwarya Mathi M <ishwaryamm@ami.com>
diff --git a/ipmi/test_ipmi_cold_reset.robot b/ipmi/test_ipmi_cold_reset.robot
index 1a4b5d9..e9ff17b 100644
--- a/ipmi/test_ipmi_cold_reset.robot
+++ b/ipmi/test_ipmi_cold_reset.robot
@@ -44,7 +44,7 @@
     [Tags]  Cold_Reset_Via_IPMI
 
     # Cold Reset Via IPMI raw command.
-    Run External IPMI Raw Command  ${IPMI_RAW_CMD['Cold Reset']['reset'][0]}
+    Run IPMI Command  ${IPMI_RAW_CMD['Cold Reset']['reset'][0]}
 
     # Get the BMC Status.
     Wait Until Keyword Succeeds  3 min  10 sec  Is BMC Unpingable
@@ -52,7 +52,7 @@
 
     # Verify if BMC restarted with Get Device ID command.
 
-    ${resp}=  Run External IPMI Raw Command  ${IPMI_RAW_CMD['Device ID']['Get'][0]}
+    ${resp}=  Run IPMI Command  ${IPMI_RAW_CMD['Device ID']['Get'][0]}
     Should Not Contain  ${resp}  ${IPMI_RAW_CMD['Device ID']['Get'][1]}
 
 
@@ -62,7 +62,7 @@
 
     # Verify cold reset with invalid length of the request data and expect error.
     ${resp}=  Run Keyword and Expect Error  *Request data length invalid*
-    ...  Run External IPMI Raw Command  ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 0x00
+    ...  Run IPMI Command  ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 0x00
 
 
 Verify Cold Reset Impact On Sensor Threshold Via IPMI
@@ -91,7 +91,7 @@
     Should Not Be Equal  ${new_threshold_value}  ${old_threshold_value}
 
     # Cold Reset Via IPMI raw command.
-    Run External IPMI Raw Command  ${IPMI_RAW_CMD['Cold Reset']['reset'][0]}
+    Run IPMI Command  ${IPMI_RAW_CMD['Cold Reset']['reset'][0]}
 
     # Get the BMC Status.
     Wait Until Keyword Succeeds  3 min  10 sec  Is BMC Unpingable