]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: convert network statements from DEFUN to DEFPY
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 18 Dec 2017 15:40:56 +0000 (10:40 -0500)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 21 Dec 2017 19:07:56 +0000 (19:07 +0000)
commite2a86ad9b44b2b7f1f9f754324086e460d971542
treeafcb596141fd7da0a6fdff8cd0a0807a2b4a5101
parentff99c5b2bb523560108f68f9251dcd93a1b9d7ee
bgpd: convert network statements from DEFUN to DEFPY

Problems reported with inconsistent use of parameters for bgp network
statements.  Converted 12 DEFUNs to 2 DEFPY statements, making the
parameter use consistent with the exception of keeping the "backdoor"
keywork ipv4 only.  Also verified that if a route-map or label-index
is specified in the "no" case it matches what had been previously
defined. Manual testing looks good and bgp-smoke will be performed
before pushing.

Ticket: CM-16860
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: CCR-7056
bgpd/Makefile.am
bgpd/bgp_route.c