Step 1: Move vm scripts to the right place
[integration/test.git] / test / csit / suites / lacp / Lacp_Feature_OF13 / 020__lacp_lag_resiliency.robot
index 3baad5095d4b42aa456196618641b0106980e314..96f4dbcd453112db89aaf3114c133e98efbd5273 100644 (file)
@@ -7,7 +7,7 @@ Library           Collections
 Library           String\r
 Library           RequestsLibrary\r
 Library           ../../../libraries/Common.py\r
-Resource          ../../../libraries/Utils.txt\r
+Resource          ../../../libraries/Utils.robot\r
 Variables         ../../../variables/Variables.py\r
 \r
 *** Variables ***\r
@@ -96,8 +96,8 @@ LACP Inventory Suite Setup
 Set Host interface state\r
     [Arguments]    ${port-id}    ${port-state}\r
     [Documentation]    Will configure the port state of the Host to either up or down\r
-    Open Connection    ${MININET}    prompt=${LINUX_PROMPT}\r
-    Login With Public Key    ${MININET_USER}    ${USER_HOME}/.ssh/id_rsa    any\r
+    Open Connection    ${MININET}    prompt=${DEFAULT_LINUX_PROMPT}\r
+    Login With Public Key    ${MININET_USER}    ${USER_HOME}/.ssh/${SSH_KEY}    any\r
     Execute Command    sudo ./m h2\r
     Execute Command    sudo ifconfig ${port-id} ${port-state}\r
     Execute Command    sudo ifconfig ${port-id}\r
@@ -105,7 +105,7 @@ Set Host interface state
 Verify Switch S1 Group Table\r
     [Arguments]    ${group-type}    ${port-id1}    ${port-id2}    ${port-id2-state}\r
     [Documentation]    Functionality to verify the presence of LACP group entries on the OVS Switch(S1) Group table\r
-    ${group_output}=    Run Command on Remote System    ${MININET}    sudo ovs-ofctl dump-groups s1 -O OpenFlow13\r
+    ${group_output}=    Run Command on Remote System    ${MININET}    sudo ovs-ofctl dump-groups s1 -O OpenFlow13   ${MININET_USER}   #\r
     Log    ${group_output}\r
     Comment    ${group_output}    Read Until    mininet>\r
     ${result}=    Get Lines Containing String    ${group_output}    output:${port-id1}\r