|
|
|
@ -607,7 +607,14 @@ def run(topology, test=None, limit=None, delay=None, shortcut=False): |
|
|
|
|
# if we want to create a timed failure (maybe while pinging), we can use a timer |
|
|
|
|
# router2_failure = Timer(15, introduce_failure(net["r2"], "r2-eth3")) |
|
|
|
|
global packet_counter_initialized |
|
|
|
|
global packet_counter_memory |
|
|
|
|
global shortcut_nftables_memory |
|
|
|
|
|
|
|
|
|
# reset values in case of second execution in runtime |
|
|
|
|
packet_counter_initialized = False |
|
|
|
|
packet_counter_memory = [] |
|
|
|
|
shortcut_nftables_memory = [] |
|
|
|
|
|
|
|
|
|
net.start() |
|
|
|
|
# CLI(net) |
|
|
|
|
n = 1 |
|
|
|
|