Resource MininetKeywords.robot
Resource KarafKeywords.robot
Resource ../variables/Variables.robot
+Resource ../variables/openflowplugin/Variables.robot
*** Variables ***
${log_level} ERROR
${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
Return From Keyword If '${status}' == 'FAIL' ${status} Controller is dead ${topology_discover_time}
${status} ${result} Run Keyword And Ignore Error Utils.Verify Controller Has No Null Pointer Exceptions ${ODL_SYSTEM_IP}
Return From Keyword If '${status}' == 'FAIL' ${status} Controller has NPE ${topology_discover_time}
+ ${status} ${result} Run Keyword And Ignore Error Utils.Verify Controller Has No Runtime Exceptions ${ODL_SYSTEM_IP}
+ Return From Keyword If '${status}' == 'FAIL' ${status} Controller has RuntimeException ${topology_discover_time}
Log To Console Checking ${switches} switches
${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds ${switches*2} 2s FlowLib.Check Switches In Inventory
... ${switches}
${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
Return From Keyword If '${status}' == 'FAIL' ${status} Controller is dead ${topology_discover_time}
${status} ${result} Run Keyword And Ignore Error Utils.Verify Controller Has No Null Pointer Exceptions ${ODL_SYSTEM_IP}
Return From Keyword If '${status}' == 'FAIL' ${status} Controller has NPE ${topology_discover_time}
+ ${status} ${result} Run Keyword And Ignore Error Utils.Verify Controller Has No Runtime Exceptions ${ODL_SYSTEM_IP}
+ Return From Keyword If '${status}' == 'FAIL' ${status} Controller has RuntimeException ${topology_discover_time}
Log To Console Checking ${switches} switches
- ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 10s 2s FlowLib.Check Switches In Inventory
+ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 30s 2s FlowLib.Check Switches In Inventory
... ${switches}
Return From Keyword If '${status}' == 'FAIL' ${status} Fail checking switch ${topology_discover_time}
Log To Console Check number of links in inventory is ${links}
Workflow Teardown
[Documentation] Cleanup when workflow is interrupt
- Run Keyword And Ignore Error RequestsLibrary.Delete Request session ${CONFIG_NODES_API}
+ Run Keyword And Ignore Error RequestsLibrary.Delete Request session ${RFC8040_NODES_API}
Utils.Clean Mininet System
RequestsLibrary.Delete All Sessions