X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fopenflowplugin%2FBundlebased_Reconciliation%2F010_bundle_resync.robot;h=e76ed9ba7b89d52e5eec50d763a892dc03f41cf2;hb=94651ca9711d8eb316721775561e815830bc6c7e;hp=739dac28cdf9ddc9a52b9a4042ee0e1e1d6dcced;hpb=b4f07ed4d8101ece59be832d01e966e878ce4a3f;p=integration%2Ftest.git diff --git a/csit/suites/openflowplugin/Bundlebased_Reconciliation/010_bundle_resync.robot b/csit/suites/openflowplugin/Bundlebased_Reconciliation/010_bundle_resync.robot index 739dac28cd..e76ed9ba7b 100644 --- a/csit/suites/openflowplugin/Bundlebased_Reconciliation/010_bundle_resync.robot +++ b/csit/suites/openflowplugin/Bundlebased_Reconciliation/010_bundle_resync.robot @@ -54,14 +54,17 @@ TC02_Reconcilation check with new switch added TC03_Reconciliation check by pushing group dependent flows [Documentation] Verify the Bundle based reconciliation by pushing multiple group dependent flows ${switch_idx} OVSDB.Get DPID ${TOOLS_SYSTEM_2_IP} - : FOR ${index} IN RANGE 1 3 - \ Push Groups Via Restcall ${switch_idx} ${index} - : FOR ${index} IN RANGE 1 6 - \ Push Flow Via Restcall ${switch_idx} ${FLOWFILE[${index}]} - \ Set Test Variable ${flowbody[${index}]} ${data} + FOR ${index} IN RANGE 1 3 + Push Groups Via Restcall ${switch_idx} ${index} + END + FOR ${index} IN RANGE 1 6 + Push Flow Via Restcall ${switch_idx} ${FLOWFILE[${index}]} + Set Test Variable ${flowbody[${index}]} ${data} + END Utils.Run Command On Remote System ${TOOLS_SYSTEM_2_IP} sudo service openvswitch-switch restart - : FOR ${index} IN RANGE 1 6 - \ Wait Until Keyword Succeeds 5s 1s FlowLib.Check Operational Flow ${True} ${flowbody[${index}]} + FOR ${index} IN RANGE 1 6 + Wait Until Keyword Succeeds 5s 1s FlowLib.Check Operational Flow ${True} ${flowbody[${index}]} + END Log Check if flows are pushed as bundle messages ${Resyncdone_msg}= BuiltIn.Set Variable "Completing bundle based reconciliation for device ID:${switch_idx}" Check_Karaf_Log_Message_Count ${Resyncdone_msg} 2