X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FWorkflowsOpenFlow.robot;h=ab72523935933a40e594ac07a1224f1885f73576;hb=1d8068763d89cefb2ac2847a73d67e46506d7f6b;hp=0b6da388a794feeaeb8de9878f42b393fa724a87;hpb=77202c16bed2fa5c8f2c3a543eb0e99f5dd8ece6;p=integration%2Ftest.git diff --git a/csit/libraries/WorkflowsOpenFlow.robot b/csit/libraries/WorkflowsOpenFlow.robot index 0b6da388a7..ab72523935 100644 --- a/csit/libraries/WorkflowsOpenFlow.robot +++ b/csit/libraries/WorkflowsOpenFlow.robot @@ -13,6 +13,7 @@ Resource KarafKeywords.robot Resource ../variables/Variables.robot *** Variables *** +${log_level} ERROR ${flow_count} 10000 ${swspread} linear ${tables} 10 @@ -30,8 +31,8 @@ Workflow Linear Topology ${controller_list}= Create List ${ODL_SYSTEM_IP} ${flow_count}= Convert to Integer ${flow_count} ${flows_ovs_25}= Evaluate ${flow_count} + ${switches} - ${flows_before}= CompareStream.Set_Variable_If_At_Least_Boron ${switches} ${0} - ${flows_after}= CompareStream.Set_Variable_If_At_Least_Boron ${flows_ovs_25} ${flow_count} + ${flows_before}= Set Variable ${switches} + ${flows_after}= Set Variable ${flows_ovs_25} ${flows} ${notes} ScaleClient.Generate New Flow Details flows=${flow_count} switches=${switches} swspread=${swspread} tables=${tables} ... tabspread=${tabspread} # Workflow starts @@ -110,8 +111,8 @@ Workflow Full Mesh Topology ${controller_list}= Create List ${ODL_SYSTEM_IP} ${flow_count}= Convert to Integer ${flow_count} ${flows_ovs_25}= Evaluate ${flow_count} + ${switches} - ${flows_before}= CompareStream.Set_Variable_If_At_Least_Boron ${switches} ${0} - ${flows_after}= CompareStream.Set_Variable_If_At_Least_Boron ${flows_ovs_25} ${flow_count} + ${flows_before}= Set Variable ${switches} + ${flows_after}= Set Variable ${flows_ovs_25} ${flows} ${notes} ScaleClient.Generate New Flow Details flows=${flow_count} switches=${switches} swspread=${swspread} tables=${tables} ... tabspread=${tabspread} # Workflow starts @@ -173,7 +174,7 @@ Workflow Full Mesh Topology Workflow Setup RequestsLibrary.Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} - Wait Until Keyword Succeeds 3x 1s KarafKeywords.Issue Command On Karaf Console log:set ERROR + Wait Until Keyword Succeeds 3x 1s KarafKeywords.Issue Command On Karaf Console log:set ${log_level} Workflow Teardown [Documentation] Cleanup when workflow is interrupt