]> git.proxmox.com Git - mirror_frr.git/commit
bgp: tolerate route-table-show header changes of PR 2045
authorG. Paul Ziemba <paulz@labn.net>
Sat, 21 Apr 2018 17:23:54 +0000 (10:23 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:13 +0000 (20:22 -0500)
commit6a57e10314bc750c49bcac1a8c71914f43dc39fc
treeb32e18c72789b332855a07f2f6aea730b1fc27a4
parente4992f04e01e646a94997928eac2322708fdc909
bgp: tolerate route-table-show header changes of PR 2045

The table header has changed slightly for "bgp show" commands. Change
all-protocol-startup (test_bgp_ipv4() and test_bgp_ipv6()) and
bgp_multiview_topo1 (test_bgp_routingTable())  to run diffs against multiple
templates (representing the various valid outputs for different versions
of the FRR code) and mark the test "passed" if any one template matches.

Signed-off-by: G. Paul Ziemba <paulz@labn.net>
tests/topotests/all-protocol-startup/r1/show_bgp_ipv4-post4.1.ref [new file with mode: 0644]
tests/topotests/all-protocol-startup/r1/show_bgp_ipv6-post4.1.ref [new file with mode: 0644]
tests/topotests/all-protocol-startup/test_all_protocol_startup.py
tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_1-post4.1.ref [new file with mode: 0644]
tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_2-post4.1.ref [new file with mode: 0644]
tests/topotests/bgp_multiview_topo1/r1/show_ip_bgp_view_3-post4.1.ref [new file with mode: 0644]
tests/topotests/bgp_multiview_topo1/test_bgp_multiview_topo1.py