diff options
| author | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-18 16:29:40 +0700 |
|---|---|---|
| committer | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-19 00:24:53 +0700 |
| commit | aa35ee2b6416e7e3cae29dfe5cedf5ffce077496 (patch) | |
| tree | f6c81d3701ba0e79aeadeb5a1a0c62ad905e7b5c /python/setup.py | |
| parent | ca3da19e47f0b3db2db0c3bdf239bb761618d557 (diff) | |
| download | vyos-1x-aa35ee2b6416e7e3cae29dfe5cedf5ffce077496.tar.gz vyos-1x-aa35ee2b6416e7e3cae29dfe5cedf5ffce077496.zip | |
bgp: T9450: do not re-send a peer-group member's inherited activate
FRR only prints a peer-group member's own "neighbor X activate" when
the member's AFI/SAFI activation state differs from its peer-group's
(bgp_config_write_peer_af(), bgpd/bgp_vty.c). A member bound to a
group that already carries the same address-family is activated for
it automatically at bind time (peer_group_bind(), bgpd/bgpd.c), so
the member's own line was never needed there and frr-reload was
re-applying it on every reload.
Render the member's own "activate" only when its peer-group does not
already carry the same address-family. Applies to both
"neighbor ... peer-group" and "neighbor ... interface peer-group"
members. A member whose group drops the address-family later still
gets its own "activate" back, matching FRR deactivating it
(peer_deactivate()).
When a peer-group gains an address family that some members already
carry, frr-reload deletes those members' own "activate" before it adds
the group's, so each such member is deactivated and reactivated once
(one session reset, or with dynamic capability one withdraw and
re-advertise of that address family) at that commit. Before this
change that commit did not reset them. The end state is correct and
per-AF overrides survive the reset; this is a one-time cost at the
commit that changes the group's address-family, not a lasting
functional loss.
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions
