mirror_frr/tests
Pascal Mathis e7103a9644
bgpd: Fix AF-attribute overrides when binding peer
The current implementation of the overrides for peer address-family
attributes suffered a bug, which caused all peer-specific attributes to
be lost when the peer was added to a peer-group which already had that
specific address-family active.

This commit extends the *peer_group2peer_config_copy_af* function to
respect overridden flags properly. Additionally, the arguments of the
macros *PEER_ATTR_INHERIT* and *PEER_STR_ATTR_INHERIT* have been
reordered to be more consistent and easy to read.

This commit also adds further test cases to the BGP peer attributes test
suite, so that this kind of error is being caught in future commits. The
missing AF-attribute *distribute-list* has also been added to the test
suite.

Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
2018-06-14 18:55:25 +02:00
..
bgpd bgpd: Fix AF-attribute overrides when binding peer 2018-06-14 18:55:25 +02:00
helpers *: Remove cvs control points 2017-12-05 17:28:12 -05:00
isisd tests/isisd: bypass test_fuzz_isis_tlv when inet_ntop is broken 2018-06-06 08:08:46 -07:00
lib lib: add string utilities 2018-06-06 16:15:34 +00:00
ospf6d ospf6d: handle realloc() failure in lsa test 2018-04-17 13:58:24 -04:00
.gitignore Merge pull request #2304 from ppmathis/enhancement/bgp-pg-overrides 2018-06-05 11:51:57 -04:00
Makefile.am tests: Add tests for overriding BGP peer attrs 2018-05-28 19:20:46 +02:00
runtests.py tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
test_lblmgr.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00