summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-11-01 18:50:48 +0000
committerChristian Breunig <christian@breunig.cc>2026-11-01 19:58:49 +0100
commit39f31b58157d89edc077392d436c12a42ab1d726 (patch)
treead8f3f0dbf7afb2749704d4ae32a2d0b3444bd40 /python
parent39507a51f9ec0b22796d1ddb591812fc4c6ac903 (diff)
downloadvyos-1x-39f31b58157d89edc077392d436c12a42ab1d726.tar.gz
vyos-1x-39f31b58157d89edc077392d436c12a42ab1d726.zip
static: T9482: check static routes only
Verification also refused a blackhole or reject default route next to the default route of a PPPoE interface, or of a DHCP interface once its lease had a router. Those routes change without a commit of the static routes, by an interface-only commit or a lease event. The check missed those cases, depended on the lease, and was not covered by the migration, so a PPPoE configuration with a plain blackhole default route failed to load after the upgrade. Only conflicts between static routes are refused now, the renderer handles the interface default routes. The default distance is looked up only for a route without a distance. The migration comment claimed FRR keeps the route configured first. A conflict makes frr-reload lose every static route of that reload. A unit test covers the migration, and the config test asserts which route was disabled.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions