summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_load-balancing_haproxy.py
diff options
context:
space:
mode:
authorMichael Pardatscher <michael.pardatscher@studyly.com>2026-09-25 17:45:49 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-26 09:46:08 +0200
commit733c07f3f9da8bca45f97abbd4521fc61b4a3812 (patch)
treefd1032de526b9a0c64a7e4b69aa076b9b94816f9 /smoketest/scripts/cli/test_load-balancing_haproxy.py
parent430dda1e170576239d3580c1b7a6381525a05cbc (diff)
downloadvyos-1x-733c07f3f9da8bca45f97abbd4521fc61b4a3812.tar.gz
vyos-1x-733c07f3f9da8bca45f97abbd4521fc61b4a3812.zip
vyos.utils: T8977: let a caller accept a non-local address as assigned
Whether an address may be bound is not the same question as whether it is currently configured somewhere: the kernel permits binding a foreign address once the non-local bind sysctl is set, which is how a failover address is commonly handed over after the commit. Callers can now opt into that, the default is unchanged. A lookup no longer skips the VRF device itself, which carries the addresses of its own L3 domain, and an interface name can be retrieved for an address without the caller asking a yes/no question in the first place. Address and range validation is split into separate checks, so a caller no longer has to accept ranges where only an address is meaningful. The two duplicated version checks are dropped in favour of the existing ones. Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'smoketest/scripts/cli/test_load-balancing_haproxy.py')
0 files changed, 0 insertions, 0 deletions