summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-11-08 08:50:45 +0100
committerChristian Breunig <christian@breunig.cc>2026-11-08 08:50:45 +0100
commit589f2e5552e8508dcc21fcc488ffc25a17e8f91f (patch)
tree9ee28b6bd8c24134283b0a97e634db0e2732813b /src/migration-scripts
parentbac758ad16b7cfa855eb977af8f50f4b9b0639d7 (diff)
downloadvyos-1x-589f2e5552e8508dcc21fcc488ffc25a17e8f91f.tar.gz
vyos-1x-589f2e5552e8508dcc21fcc488ffc25a17e8f91f.zip
utils: T9322: simplify address assignment lookup and document ValueError
The lookup for an address on all interfaces carried a copy of the zone index and VRF filtering that already exists in the lookup returning the matching interfaces. It now delegates to it, so the two cannot drift. The per-interface address match is written as a single condition, the comments are trimmed, and the docstrings state that anything but a single address raises ValueError instead of being reported as not assigned. The sflow zone index smoketest removes the dummy interface it creates, and the unit tests drop a stale task reference and a duplicate import.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions