From cb38a6f9624f362cad65af23f8fe81ff86738402 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sun, 16 Feb 2025 10:13:15 +0100 Subject: [PATCH] tests: Do not load sharpd config in `srv6_encap_src_addr` topotest The `srv6_encap_src_addr` topotest tries to load sharpd.conf file that does not exist, which produces the following warning: ``` 2025-02-16 09:23:35,151 WARNING: topo: missing config 'r1' for '/media/frr/tests/topotests/srv6_encap_src_addr/r1/sharpd.conf' creating empty file '/etc/frr/sharpd.conf' ``` Since this topotest doesn't actually use sharpd, there's no point in loading the config file. Signed-off-by: Carmine Scarpitta --- .../topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py b/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py index c46274ca01..6aeda3f57a 100755 --- a/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py +++ b/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py @@ -49,9 +49,6 @@ def setup_module(mod): router.load_config( TopoRouter.RD_BGP, os.path.join(CWD, "{}/bgpd.conf".format(rname)) ) - router.load_config( - TopoRouter.RD_SHARP, os.path.join(CWD, "{}/sharpd.conf".format(rname)) - ) tgen.start_router()