summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2021-04-26 11:52:38 +0000
committerGitHub <noreply@github.com>2021-04-26 11:52:38 +0000
commitae08637827fd8a47465624c097ebf901b662fa74 (patch)
tree0e68eb9c669beee87f44d6521714c8888b3e3adc /tests/topotests/lib/common_config.py
parentcd66038b984565cf7fccaf3880bc5028169610ae (diff)
parentec8f360f2dc2c1c4686877d48cea96d460bb4ec9 (diff)
Merge pull request #8540 from donaldsharp/kill_them_all
tests: Remove kill_mininet_router_process
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r--tests/topotests/lib/common_config.py24
1 files changed, 0 insertions, 24 deletions
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