removed unnecessary tests

master
Frederik Maaßen 2 years ago
parent f256d656b8
commit dd6d0613e8
  1. 48
      implementation/topologies/4r4h_topo.py
  2. 48
      implementation/topologies/6r4h_topo.py
  3. 1
      thesis/content/evaluation/evaluation.tex

@ -119,53 +119,7 @@ class FourRoutersFourHosts(CustomTopo):
def get_tests(self):
return {
"h1_to_h2_failure_test": {
"pre_execution": {
"use_pre_defined_function": False,
"command": lambda net: net["h1"].cmd("ping -c 5 10.4.0.101"),
},
"source": "h1",
"destination": "h4",
"destination_ip": "10.4.0.101",
"execute": {
"use_pre_defined_function": False,
"separate_definitions": False,
"command": lambda net: net["h1"].cmd("ping -c 10 10.4.0.101"),
},
"failures": [
{
"type": "intermediate",
"execute": {
"use_pre_defined_function": True,
"command": ("connection_shutdown", (['r2', 'r4'], ['Router 2', 'Router 4'], ['r2-eth2', 'r4-eth1']))
}
}
]
},
"s_to_d_failure_performance_test": {
"pre_execution": {
"use_pre_defined_function": False,
"command": lambda net: net.iperf((net['h1'], net['h4'])),
},
"source": "h1",
"destination": "h4",
"destination_ip": "10.4.0.101",
"execute": {
"use_pre_defined_function": False,
"separate_definitions": False,
"command": lambda net: net.iperf((net['h1'], net['h4'])),
},
"failures": [
{
"type": "intermediate",
"execute": {
"use_pre_defined_function": True,
"command": ("connection_shutdown", (['r2', 'r4'], ['Router 2', 'Router 4'], ['r2-eth2', 'r4-eth1']))
}
}
]
},
"s_to_d_failure_tcp_performance_test_graph": {
"tcp_bandwidth_intermediate": {
"pre_execution": {
"use_pre_defined_function": False,
"command": lambda net: net.iperf((net['h1'], net['h4'])),

@ -176,53 +176,7 @@ class SixRoutersFourHosts(CustomTopo):
def get_tests(self):
return {
"h1_to_h6_failure_test": {
"pre_execution": {
"use_pre_defined_function": False,
"command": lambda net: net["h1"].cmd("ping -c 5 10.6.0.101"),
},
"source": "h1",
"destination": "h6",
"destination_ip": "10.6.0.101",
"execute": {
"use_pre_defined_function": False,
"separate_definitions": False,
"command": lambda net: net["h1"].cmd("ping -c 10 10.6.0.101"),
},
"failures": [
{
"type": "intermediate",
"execute": {
"use_pre_defined_function": True,
"command": ("connection_shutdown", (['r3', 'r6'], ['Router 3', 'Router 6'], ['r3-eth2', 'r6-eth1']))
}
}
]
},
"h1_to_h6_failure_performance_test": {
"pre_execution": {
"use_pre_defined_function": False,
"command": lambda net: net.iperf((net['h1'], net['h6'])),
},
"source": "h1",
"destination": "h6",
"destination_ip": "10.6.0.101",
"execute": {
"use_pre_defined_function": False,
"separate_definitions": False,
"command": lambda net: net.iperf((net['h1'], net['h6'])),
},
"failures": [
{
"type": "intermediate",
"execute": {
"use_pre_defined_function": True,
"command": ("connection_shutdown", (['r3', 'r6'], ['Router 3', 'Router 6'], ['r3-eth2', 'r6-eth1']))
}
}
]
},
"h1_to_h6_failure_tcp_performance_test_graph": {
"tcp_bandwidth_intermediate": {
"pre_execution": {
"use_pre_defined_function": False,
"command": lambda net: net.iperf((net['h1'], net['h6'])),

@ -1,4 +1,5 @@
\chapter{Evaluation}
\label{evaluation}
In this chapter we evaluate tests that were run using our test framework in Mininet. The tests were performed as described in \ref{cp:testing} with a bandwidth limit on each link of 100 Mbit(s). When testing with delays on the network we noticed that the performance dropped rapidly. This is why we only use an additional delay of 5 ms per link in our latency tests - other tests do not use a delay.