mirror_frr/tests
Kantesh Mundaragi 0789eb69e5 bgpd: VRF-Lite fix nexthop type
Description:
Change is intended for fixing the following issues related to vrf route leaking:

Routes with special nexthops i.e. blackhole/sink routes when imported,
are not programmed into the FIB and corresponding nexthop is set as 'inactive',
nexthop interface as 'unknown'.

While importing/leaking routes between VRFs, in case of special nexthop(ipv4/ipv6)
once bgp announces route(s) to zebra, nexthop type is incorrectly set as
NEXTHOP_TYPE_IPV6_IFINDEX/NEXTHOP_TYPE_IFINDEX
i.e. directly connected even though we are not able to resolve through an interface.
This leads to nexthop_active_check marking nexthop !NEXTHOP_FLAG_ACTIVE.
Unable to find the active nexthop(s), route is not programmed into the FIB.

Whenever BGP leaks routes, set the correct nexthop type, so that route gets resolved
and correctly programmed into the FIB, in the imported vrf.

Co-authored-by: Kantesh Mundaragi <kmundaragi@vmware.com>
Signed-off-by: Iqra Siddiqui <imujeebsiddi@vmware.com>
2021-09-07 01:50:06 -07:00
..
bgpd bgpd: Add neighbor PEER link-bw-encoding-ieee 2021-08-30 14:21:49 +03:00
helpers lib: adapt to version 2 of libyang 2021-05-13 16:24:48 -04:00
isisd isisd: Fix sending of LSP with null seqno 2021-08-26 12:06:29 +02:00
lib bgpd: VRF-Lite fix nexthop type 2021-09-07 01:50:06 -07:00
ospf6d ospf6d, tests: Prevent use after free 2020-10-11 11:16:44 -04:00
ospfd *: require semicolon after DEFINE_<typesafe...> 2021-03-17 06:18:39 +01:00
topotests tests: refactor parallel reset/load config for non-json 2021-09-06 11:18:48 -04:00
zebra tests: add test for labelmanager plugin 2021-01-05 18:20:50 +00:00
.gitignore tests/lib: add a simple prefix list query tool 2021-07-06 01:44:35 +02:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am tests: add feature to not run ospfd test when opted out 2021-08-13 11:38:38 +02:00