X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fnetconf%2Fscale%2Fgetmulti.robot;h=97b544e3a257631a1d28958fd89aa7b3b6658211;hb=c78951947995a7a1e6df298e4efab4082e8fb014;hp=ad83d0fdc29c80a8b353ae72ce16544f26be72a3;hpb=7e5a8e3140f4ae6ae45e05047650617b3f85253a;p=integration%2Ftest.git diff --git a/csit/suites/netconf/scale/getmulti.robot b/csit/suites/netconf/scale/getmulti.robot index ad83d0fdc2..97b544e3a2 100644 --- a/csit/suites/netconf/scale/getmulti.robot +++ b/csit/suites/netconf/scale/getmulti.robot @@ -37,7 +37,8 @@ ${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} + Run Keyword If '${IS_KARAF_APPL}' == 'True' NetconfKeywords.Install_And_Start_Testtool device-count=${DEVICE_COUNT} + ... ELSE NetconfKeywords.Start_Testtool ${NETCONF_FILENAME} device-count=${DEVICE_COUNT} Configure_Devices_On_Netconf [Documentation] Make requests to configure the testtool devices. @@ -78,7 +79,7 @@ Check_Devices_Are_Deconfigured Setup_Everything [Documentation] Setup everything needed for the test cases. # Setup resources used by the suite. - RequestsLibrary.Create_Session operational http://${ODL_SYSTEM_IP}:${RESTCONFPORT}${OPERATIONAL_API} auth=${AUTH} + RequestsLibrary.Create_Session operational http://${ODL_SYSTEM_IP}:${RESTCONFPORT}${REST_API} auth=${AUTH} SSHLibrary.Set_Default_Configuration prompt=${TOOLS_SYSTEM_PROMPT} SetupUtils.Setup_Utils_For_Setup_And_Teardown NetconfKeywords.Setup_Netconf_Keywords @@ -106,5 +107,6 @@ Read_Python_Tool_Operation_Result ${ellapsed}= Collections.Get_From_List ${test} 3 BuiltIn.Log DATA REQUEST RESULT: Device=${number} StartTime=${start} StopTime=${stop} EllapsedTime=${ellapsed} ${data}= Collections.Get_From_List ${test} 4 - ${expected}= BuiltIn.Set_Variable '' + ${expected}= Run Keyword If '${IS_KARAF_APPL}' == 'True' BuiltIn.Set_Variable '' + ... ELSE Set Variable '' BuiltIn.Should_Be_Equal_As_Strings ${data} ${expected}