diff options
| author | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-18 16:31:05 +0700 |
|---|---|---|
| committer | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-19 01:02:39 +0700 |
| commit | 83c42081d3fb44982b903d032c54eec2beab89ef (patch) | |
| tree | 4a9567376dfcdedc73a8e79b648c84abc4d52a87 /python | |
| parent | c46b3c3f04e2b025cd40193d2665505f725de871 (diff) | |
| download | vyos-1x-83c42081d3fb44982b903d032c54eec2beab89ef.tar.gz vyos-1x-83c42081d3fb44982b903d032c54eec2beab89ef.zip | |
bgp: T9450: render EVPN route-target both as import+export
FRR never folds a VRF's l2vpn evpn route-targets back into "both"
(bgp_config_write_evpn_info(), bgpd/bgp_evpn_vty.c): it always prints
the import list and the export list separately, each from its own
flag. Unlike the per-VNI "route-target both" context, tools/frr-reload.py
has no special case that folds a matching VRF-wide import+export pair
back into "both", so the line was deleted and re-added, both RTs with
it, on every reload.
Render "route-target both" as its "import"+"export" equivalent so the
rendered config matches what FRR will echo back.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
