+Find Max Links
+ [Arguments] ${begin} ${stop} ${step}
+ [Documentation] Will find out max switches in fully mesh topology starting from ${start} till reaching ${stop} and in steps defined by ${step}
+ ${max_switches} Set Variable ${0}
+ ${stop} Convert to Integer ${stop}
+ ${step} Convert to Integer ${step}
+ : FOR ${switches} IN RANGE ${begin} ${stop+1} ${step}
+ \ Start Mininet With Custom Topology ${CREATE_FULLYMESH_TOPOLOGY_FILE} ${switches} ${BASE_MAC_1} ${BASE_IP_1} ${0} ${switches*20}
+ \ ${status} ${result} Run Keyword And Ignore Error Verify Controller Is Not Dead ${CONTROLLER}
+ \ Exit For Loop If '${status}' == 'FAIL'
+ \ ${status} ${result} Run Keyword And Ignore Error Verify Controller Has No Null Pointer Exceptions ${CONTROLLER}
+ \ Exit For Loop If '${status}' == 'FAIL'
+ \ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 120 10s
+ \ ... Check Every Switch ${switches} ${BASE_MAC_1}
+ \ Exit For Loop If '${status}' == 'FAIL'
+ \ ${max-links}= Evaluate ${switches}*${switches-1}
+ \ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 120 10s
+ \ ... Check Number Of Links ${max-links}
+ \ Exit For Loop If '${status}' == 'FAIL'
+ \ Stop Mininet
+ \ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 120 10s
+ \ ... Check No Switches ${switches}
+ \ Exit For Loop If '${status}' == 'FAIL'
+ \ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 120 10s
+ \ ... Check No Topology ${switches}
+ \ Exit For Loop If '${status}' == 'FAIL'
+ \ ${max_switches} Set Variable ${switches}
+ ${max-links}= Evaluate ${max_switches}*${max_switches-1}
+ [Return] ${max-links}
+