From a189b6b7e8ee991cc0fc7d13ee90d588ea5ca15d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 17 Oct 2026 20:54:47 +0200 Subject: wlb: T9472: support interface names containing a dash The health daemon read its configuration with tag node values mangled, so an interface such as "wlb-isp1" became "wlb_isp1". The daemon then checked an interface which does not exist, marked it FAILED and never installed its routes - the interface was never used. The smoketest gains a traffic lab: a LAN and one ISP per WAN interface in network namespaces, every ISP answering on the same address with its name and the source address it sees. --- src/helpers/vyos-load-balancer.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/helpers/vyos-load-balancer.py b/src/helpers/vyos-load-balancer.py index 04a2349bf..772639c3b 100755 --- a/src/helpers/vyos-load-balancer.py +++ b/src/helpers/vyos-load-balancer.py @@ -231,6 +231,7 @@ def get_config(): conf = Config() base = ['load-balancing', 'wan'] lb = conf.get_config_dict(base, key_mangling=('-', '_'), + no_tag_node_value_mangle=True, get_first_key=True, with_recursive_defaults=True) lb['firewall_group'] = conf.get_config_dict(['firewall', 'group'], key_mangling=('-', '_'), get_first_key=True, -- cgit v1.2.3