]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Improve group overrides for AF filters
authorPascal Mathis <mail@pascalmathis.com>
Mon, 21 May 2018 10:09:25 +0000 (12:09 +0200)
committerPascal Mathis <mail@pascalmathis.com>
Sun, 27 May 2018 17:41:25 +0000 (19:41 +0200)
commit70ee29b4db0465ce58da486d80aba5615fa04b2c
tree5be80c7fbf756bd10efcea283ae63406107e1845
parent598ce6bd70427129b61f417f87be93d830496c7f
bgpd: Improve group overrides for AF filters

This commit adds the same peer-group override capabilites as d122d7cf7
for all filter/map options that can be enabled/disabled on each
address-family of a BGP peer.

All currently existing filter/map options are being supported:
filter-list, distribute-list, prefix-list, route-map and unsuppress-map

To implement this behavior, a new peer attribute 'filter_override' has
been added together with various PEER_FT_ (filter type) constants for
tracking the state of each filter in the same way as it is being done
with 'af_flags_override'.

Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
bgpd/bgpd.c
bgpd/bgpd.h