]> git.puffer.fish Git - mirror/frr.git/commit
Simplify BGP unnumbered configuration by eliminating the unessential.
authorDinesh G Dutt <ddutt@cumulusnetworks.com>
Wed, 13 Jul 2016 22:31:27 +0000 (15:31 -0700)
committerDinesh G Dutt <ddutt@cumulusnetworks.com>
Fri, 15 Jul 2016 18:56:12 +0000 (11:56 -0700)
commit347914a0a785993200cb04ae3cbf8ff9a9104d60
treedf62d11a285e9b4237bf664250ba8b7b976fbd19
parentcc146ecc00f96137027cc909a78e83f8ec02c08c
Simplify BGP unnumbered configuration by eliminating the unessential.

To make BGP configuration as simple as possible, assume the capability
extended-nexthop to be default for interface neighbors. Also allow the
ability to specify remote-as on the same line as neighbor interface to
make BGP unnumbered configuration a single line.

One corner case. This is the first feature for which the default for a
member is different from the default for a peer-group. Since advertising
the capability is only done for interface neighbors, the capability is
not set for the peer-group, but is automatically set for interface
neighbors that belong to that peer-group. So, if you want to disable the
advertisement of this capability for an interface neighbor, you must
do it per each interface neighbor.

The patch is more complicated than it needs to be due to the handling
of quagga reload and appropriate updates to the show running output.

Ticket: CM-11830
Reviewed By: CCR-4958
Testing Done: Usual coterie, including manual
bgpd/bgp_vty.c
bgpd/bgpd.c
tools/quagga-reload.py