]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Implement `neighbor X remote-as auto`
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 4 Jul 2024 11:42:19 +0000 (14:42 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 4 Jul 2024 11:42:19 +0000 (14:42 +0300)
commit0dfe25697f5299326046fcfb66f2c6beca7c423c
tree081c260eff7eca95aef125f7197cd3f3a2a7e59b
parentd4758b3ccc76c77d0b8ba255089f79e67379bb30
bgpd: Implement `neighbor X remote-as auto`

In some cases (large scale) it's desired to avoid changing configurations, but
let the BGP to automatically handle ASN changes.

`auto` means the peering can be iBGP or eBGP. It will be automatically detected
and adjusted from the OPEN message.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
12 files changed:
bgpd/bgp_attr.c
bgpd/bgp_packet.c
bgpd/bgp_updgrp.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h
doc/user/bgp.rst
tests/topotests/bgp_remote_as_auto/__init__.py [new file with mode: 0644]
tests/topotests/bgp_remote_as_auto/r1/frr.conf [new file with mode: 0644]
tests/topotests/bgp_remote_as_auto/r2/frr.conf [new file with mode: 0644]
tests/topotests/bgp_remote_as_auto/r3/frr.conf [new file with mode: 0644]
tests/topotests/bgp_remote_as_auto/test_bgp_remote_as_auto.py [new file with mode: 0644]