X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FWorkflowsOpenFlow.robot;h=ab72523935933a40e594ac07a1224f1885f73576;hb=8fdfa4b884b56b152945dafd4627c6040c81778d;hp=a02926be5e1b99bc4ddfc3069b3b77a78e67bfc6;hpb=6707668e987bc62d563b133f421068baa424e8c5;p=integration%2Ftest.git diff --git a/csit/libraries/WorkflowsOpenFlow.robot b/csit/libraries/WorkflowsOpenFlow.robot index a02926be5e..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 @@ -89,7 +90,7 @@ Workflow Linear Topology ${status} ${result} Run Keyword And Ignore Error MininetKeywords.Stop Mininet And Exit Return From Keyword If '${status}' == 'FAIL' ${status} Fail stopping mininet ${topology_discover_time} Log To Console Checking No Switches - ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 10s 2s FlowLib.Check No Switches In Inventory + ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 30s 2s FlowLib.Check No Switches In Inventory ... ${switches} Return From Keyword If '${status}' == 'FAIL' ${status} Fail checking no switch ${topology_discover_time} Log To Console Checking No Topology @@ -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