]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vty.c
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>
Sat, 16 Jul 2016 05:17:00 +0000 (22:17 -0700)
commitb3a39dc510a258282908674e55c5b27be61a642a
treed50ee9463cafb2bb2167c1193241efb0d012d0f5
parent7fb21a9f987c06edd11a23fed0999ef36d7fe685
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

(cherry picked from commit 347914a0a785993200cb04ae3cbf8ff9a9104d60)
bgpd/bgp_vty.c
bgpd/bgpd.c
tools/quagga-reload.py