From d8483f410eb6896e57ba625dd534320dc29e14e4 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sun, 16 Feb 2025 10:14:16 +0100 Subject: [PATCH] tests: Do not load bgpd config in `srv6_encap_src_addr` topotest The `srv6_encap_src_addr` topotest tries to load bgpd.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/bgpd.conf' creating empty file '/etc/frr/bgpd.conf' ``` Since this topotest doesn't actually use bgpd, 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 6aeda3f57a..271f54885a 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 @@ -46,9 +46,6 @@ def setup_module(mod): router.load_config( TopoRouter.RD_ZEBRA, os.path.join(CWD, "{}/zebra.conf".format(rname)) ) - router.load_config( - TopoRouter.RD_BGP, os.path.join(CWD, "{}/bgpd.conf".format(rname)) - ) tgen.start_router()