X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fnetconf%2Fscale%2Fgetmulti.robot;h=0af1d4cebab42b9b69c561366771aebad7c0c166;hb=94651ca9711d8eb316721775561e815830bc6c7e;hp=faff21a20d9668baf97a4ce6c75506cbc1a99509;hpb=899ba56534ef8b9821e0bb773b31c43e628bb5fb;p=integration%2Ftest.git diff --git a/csit/suites/netconf/scale/getmulti.robot b/csit/suites/netconf/scale/getmulti.robot index faff21a20d..0af1d4ceba 100644 --- a/csit/suites/netconf/scale/getmulti.robot +++ b/csit/suites/netconf/scale/getmulti.robot @@ -24,7 +24,6 @@ Resource ${CURDIR}/../../../libraries/KarafKeywords.robot Resource ${CURDIR}/../../../libraries/NetconfKeywords.robot Resource ${CURDIR}/../../../libraries/SetupUtils.robot Resource ${CURDIR}/../../../libraries/SSHKeywords.robot -Resource ${CURDIR}/../../../libraries/Utils.robot Variables ${CURDIR}/../../../variables/Variables.py *** Variables *** @@ -32,13 +31,13 @@ ${DEVICE_COUNT} 500 ${WORKER_COUNT} 10 ${TIMEOUT_FACTOR} 10 ${device_name_base} netconf-scaling-device -${device_type} default +${device_type} full-uri-device ${base_port} 17830 *** Test Cases *** Start_Test_Tool [Documentation] Deploy and start test tool, then wait for all its devices to become online. - NetconfKeywords.Install_And_Start_Testtool device-count=${DEVICE_COUNT} mdsal=false + NetconfKeywords.Install_And_Start_Testtool device-count=${DEVICE_COUNT} Configure_Devices_On_Netconf [Documentation] Make requests to configure the testtool devices. @@ -54,10 +53,11 @@ Issue_Requests_On_Devices [Documentation] Spawn the specified count of worker threads to issue a GET request to each of the devices. ${current_ssh_connection}= SSHLibrary.Get Connection SSHLibrary.Open_Connection ${TOOLS_SYSTEM_IP} - Utils.Flexible_Mininet_Login + SSHKeywords.Flexible_Mininet_Login SSHLibrary.Write python getter.py --odladdress=${ODL_SYSTEM_IP} --count=${DEVICE_COUNT} --name=${device_name_base} --workers=${WORKER_COUNT} - : FOR ${number} IN RANGE 1 ${DEVICE_COUNT}+1 - \ Read_Python_Tool_Operation_Result ${number} + FOR ${number} IN RANGE 1 ${DEVICE_COUNT}+1 + Read_Python_Tool_Operation_Result ${number} + END SSHLibrary.Read_Until_Prompt SSHLibrary.Close_Connection SSHKeywords.Restore Current SSH Connection From Index ${current_ssh_connection.index} @@ -84,6 +84,8 @@ Setup_Everything # Deploy testing tools. SSHLibrary.Put_File ${CURDIR}/../../../../tools/netconf_tools/getter.py SSHLibrary.Put_File ${CURDIR}/../../../libraries/AuthStandalone.py + ${device_type}= BuiltIn.Set_Variable_If ${USE_NETCONF_CONNECTOR}==${True} default ${device_type} + BuiltIn.Set_Suite_Variable ${device_type} Teardown_Everything [Documentation] Teardown the test infrastructure, perform cleanup and release all resources.