Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topotests: bgp_features, do not test inconsistent 'flags' value
After disabling the 'bgp suppress-no-fib' service, the test fails to find the expected bgp route to '192.168.0.7': two paths are available (from BGP and OSPF), and only the OSPF one is selected, but the calculated recursive nexthop for BGP should not be installed. Actually, in the FIB, the '192.168.0.7' prefix selected is the one from OSPF. In the test, the bgp nexthop-group functionality is turned on: The BGP route for '192.168.0.7' uses a shared recursive nexthop which is already installed. But because the BGP route has a bigger distance than ospf, the BGP route is not installed. Because the nexthop is shared and not self to the route, do ignore the flags value of the nexthop, in this test. Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information