X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FNetconfKeywords.robot;h=a47c2c64636f0968a36b4b2ee75c39ed76169bc6;hb=9481d21ef0f8ae7747d78de305c41ee7850c24f7;hp=422e436fa678620dcd487fb9fe378f9bc104dd89;hpb=fb62743669cc1c0563cb3c82c4449bd9219b3463;p=integration%2Ftest.git diff --git a/csit/libraries/NetconfKeywords.robot b/csit/libraries/NetconfKeywords.robot index 422e436fa6..a47c2c6463 100644 --- a/csit/libraries/NetconfKeywords.robot +++ b/csit/libraries/NetconfKeywords.robot @@ -24,7 +24,7 @@ Resource Utils.robot Resource RemoteBash.robot *** Variables *** -${TESTTOOL_DEFAULT_JAVA_OPTIONS} -Xmx1G -XX:MaxPermSize=256M -Dorg.apache.sshd.registerBouncyCastle=false +${TESTTOOL_DEFAULT_JAVA_OPTIONS} -Xmx1G -XX:MaxPermSize=256M ${DIRECTORY_WITH_DEVICE_TEMPLATES} ${CURDIR}/../variables/netconf/device ${FIRST_TESTTOOL_PORT} 17830 ${BASE_NETCONF_DEVICE_PORT} 17830 @@ -153,15 +153,20 @@ NetconfKeywords__Wait_Device_Is_Up_And_Running Install_And_Start_Testtool [Arguments] ${device-count}=10 ${debug}=true ${schemas}=none ${tool_options}=${EMPTY} ${java_options}=${TESTTOOL_DEFAULT_JAVA_OPTIONS} ${mdsal}=true - [Documentation] Install and run testtool. Also arrange to collect its output into a log file. - ... When the ${schemas} argument is set to 'none', it signifies that - ... there are no additional schemas to be deployed, so the directory - ... for the additional schemas is deleted on the remote machine and - ... the additional schemas argument is left out. - # Install test tool on the machine. + [Documentation] Install and run testtool. ${filename}= NexusKeywords.Deploy_Test_Tool netconf netconf-testtool + Start_Testtool ${filename} ${device-count} ${debug} ${schemas} ${tool_options} ${java_options} + ... ${mdsal} + +Start_Testtool + [Arguments] ${filename} ${device-count}=10 ${debug}=true ${schemas}=none ${tool_options}=${EMPTY} ${java_options}=${TESTTOOL_DEFAULT_JAVA_OPTIONS} + ... ${mdsal}=true + [Documentation] Arrange to collect tool's output into a log file. + ... Will use specific ${schemas} unless argument resolves to 'none', + ... which signifies that there are no additional schemas to be deployed. + ... If so the directory for the additional schemas is deleted on the + ... remote machine and the additional schemas argument is left out. ${schemas_option}= NetconfKeywords__Deploy_Additional_Schemas ${schemas} - # Start the testtool ${command}= NexusKeywords.Compose_Full_Java_Command ${java_options} -jar ${filename} ${tool_options} --device-count ${device-count} --debug ${debug} ${schemas_option} --md-sal ${mdsal} BuiltIn.Log Running testtool: ${command} ${logfile}= Utils.Get_Log_File_Name testtool