]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: use new defaults system (v2)
authorDavid Lamparter <equinox@diac24.net>
Thu, 1 Aug 2019 16:50:56 +0000 (18:50 +0200)
committerDavid Lamparter <equinox@diac24.net>
Fri, 6 Dec 2019 14:13:32 +0000 (15:13 +0100)
commit5d5393b943c500c63770a06df9036a1558d0f100
tree8fd004831109cc803cf92ad81d4afbf66038676d
parentdd65f45ebc5d3c0b004aa0adb5a058fa3c92bd81
bgpd: use new defaults system (v2)

This moves all the DFLT_BGP_* stuff over to the new defaults mechanism.
bgp_timers_nondefault() added to get better file-scoping.

v2: moved everything into bgp_vty.c so that the core BGP code is
independent of the CLI-specific defaults.  This should make the future
northbound conversion easier.

Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/bgp_evpn.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgpd.c
bgpd/bgpd.h
lib/defaults.h
tests/bgpd/test_capability.c
tests/bgpd/test_mp_attr.c
tests/bgpd/test_packet.c