From ec8f360f2dc2c1c4686877d48cea96d460bb4ec9 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 22 Apr 2021 15:47:37 -0400 Subject: tests: Remove kill_mininet_router_process This function kills all processes that happen to have the same name to frr processes and it was only ever used in the setup. Setup should not be used to kill old runs. That should be a separate process. Signed-off-by: Donald Sharp --- tests/topotests/lib/common_config.py | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests/topotests/lib/common_config.py') diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index ead593d2ca..ba6004861e 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -401,30 +401,6 @@ def start_router_daemons(tgen, router, daemons): return res -def kill_mininet_routers_process(tgen): - """ - Kill all mininet stale router' processes - * `tgen` : topogen object - """ - - router_list = tgen.routers() - for rname, router in router_list.items(): - daemon_list = [ - "zebra", - "ospfd", - "ospf6d", - "bgpd", - "ripd", - "ripngd", - "isisd", - "pimd", - "ldpd", - "staticd", - ] - for daemon in daemon_list: - router.run("killall -9 {}".format(daemon)) - - def check_router_status(tgen): """ Check if all daemons are running for all routers in topology -- cgit v1.2.3