]> git.puffer.fish Git - mirror/frr.git/commit
tests: Fix ospf_asbr_summary_topo1.py 9839/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 15 Oct 2021 15:43:44 +0000 (11:43 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 15 Oct 2021 15:43:44 +0000 (11:43 -0400)
commit6862166ed513f16e1f6cb59d604a08b03d7a87f5
tree956411cf541dddd138f7b82af4b0723bbc2f2ab3
parent45cfb2495f2fade4ab903b240bafb0b853549069
tests: Fix ospf_asbr_summary_topo1.py

This script is failing occassionally in our upstream topotests.
Where it was changing route-maps and attempting to see if
summarization was working correctly.  The problem was that
the code appeared to be attempting to add route-maps to
redistribution in ospf then modifying the route-maps behavior
to affect summarization as well as the metric type of that
summarization.

The problem is of course that ospf does not appear to modify
the summary routes metric-type when the components
of that summary change it's metric-type.  So the test
is testing nothing.  In addition the test had messed
up the usage of the route-map generation code and all
the generated config was in different sequence numbers
but route-map processing would never get to those
new sequence numbers because of how route-maps are processed.

Let's just remove this part of the test instead of trying
to unwind it into anything meaningfull

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/ospf_basic_functionality/test_ospf_asbr_summary_topo1.py