X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FCoe.robot;h=a9462b43144fb436a2d82c7e32117a5aa8ffd4ec;hb=ac67421a5681ce540d1f8f2bd99f1cd37af5f50c;hp=c062d7deb9c6de6624c1af29e97d2f7a02566afc;hpb=243622fbb43b62d7a53c7d1de4fabfd47937fdaf;p=integration%2Ftest.git diff --git a/csit/libraries/Coe.robot b/csit/libraries/Coe.robot index c062d7deb9..a9462b4314 100644 --- a/csit/libraries/Coe.robot +++ b/csit/libraries/Coe.robot @@ -82,13 +82,13 @@ Modifying templates in playbook ${template} = String.Replace String ${template} minion_ip ${TOOLS_SYSTEM_ALL_IPS[0]} @{minions} Create List coe-minion ${hosts} Set Variable coe-master: - : FOR ${i} INRANGE 1 ${NUM_TOOLS_SYSTEM} + : FOR ${i} IN RANGE 1 ${NUM_TOOLS_SYSTEM} \ Append To List ${minions} coe-minion${i} \ ${hosts} = Catenate ${hosts} coe-minion${i}: ${hosts} = Replace String Using Regexp ${hosts} :$ ${EMPTY} ${hosts} = Remove Space on String ${hosts} ${minion hosts} = Replace String Using Regexp ${hosts} ^[\\w-]+: ${EMPTY} - : FOR ${i} INRANGE 1 ${NUM_TOOLS_SYSTEM} + : FOR ${i} IN RANGE 1 ${NUM_TOOLS_SYSTEM} \ ${j} = Evaluate ${i}+1 \ ${template} = String.Replace String ${template} ${minions[${i}-1]} ${minions[${i}]} \ ${template} = String.Replace String ${template} ${TOOLS_SYSTEM_ALL_IPS[${i}-1]} ${TOOLS_SYSTEM_ALL_IPS[${i}]}