]> git.proxmox.com Git - mirror_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>
Tue, 19 Jun 2018 16:16:24 +0000 (18:16 +0200)
commit11fe3184795f5fcd004fb83e75084346f7889f4c
treebbe77e81b674a8b7ca94a2a30c0e50786c3f5d08
parent0ac6daf8f6c95548fd047ec4102b2101bc2aa9ba
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>
(cherry picked from commit 70ee29b4db0465ce58da486d80aba5615fa04b2c)
bgpd/bgpd.c
bgpd/bgpd.h