]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Improve test suite for peer-group overrides
authorPascal Mathis <mail@pascalmathis.com>
Tue, 12 Jun 2018 22:39:19 +0000 (00:39 +0200)
committerPascal Mathis <mail@pascalmathis.com>
Thu, 14 Jun 2018 16:55:28 +0000 (18:55 +0200)
commit598a3d428806fe3b48089952d703027548cf3405
treee0513372ba947517cf390e300444d3aa0471b83e
parent527de3dca21f1428d24d5c3c41111c00b31a1945
bgpd: Improve test suite for peer-group overrides

This commit introduces the current test suite for BGP peer-group
overrides by adding support for custom check handlers (which can check
internal data structures more thoroughly) and by fixing several small
mistakes and issues that slipped through. Also some parts of the code
have been cleaned up to avoid duplicate and/or hard-to-read code.

Additionally a first experimental check for a BGP peer attribute with
values (advertisement-interval <value>) has been added to the test
suite. As this test suite is currently not passing, it has not been
added to the python test caller.

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