diff options
| author | Michael Pardatscher <michael.pardatscher@studyly.com> | 2026-09-25 17:45:49 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-26 09:46:08 +0200 |
| commit | 733c07f3f9da8bca45f97abbd4521fc61b4a3812 (patch) | |
| tree | fd1032de526b9a0c64a7e4b69aa076b9b94816f9 /smoketest/scripts/cli/test_load-balancing_haproxy.py | |
| parent | 430dda1e170576239d3580c1b7a6381525a05cbc (diff) | |
| download | vyos-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
