fib: MPLS EOS chains built for attached prefixes should link to a lookup DPO 76/34776/3
authorNeale Ranns <neale@graphiant.com>
Mon, 20 Dec 2021 18:18:42 +0000 (18:18 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 21 Dec 2021 11:13:41 +0000 (11:13 +0000)
commit53962fbccb4612af41e3fbd913cc50be09d3b24a
treeb576686d35593d8e20b8f858eed4585ae3e8ff65
parent3aa3d6d3f347784f3df5c164b3078bdc5e80e54a
fib: MPLS EOS chains built for attached prefixes should link to a lookup DPO

Type: fix

Presently a local label associated with an attached or connected prefix will link to the glean. This is a problem since it will never use the adj-fibs that are installed for that attached prefix. Instead link the local label to a lookup in the table in which the attached link is bound.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Iad49fb6168b9ba47216a9a52bd262363b49c3c43
src/vnet/fib/fib_entry_src.c
src/vnet/fib/fib_entry_src.h
src/vnet/fib/fib_path.c
src/vnet/fib/fib_path.h
src/vnet/fib/fib_path_ext.c
src/vnet/fib/fib_path_ext.h
src/vnet/fib/fib_path_list.c
src/vnet/mfib/mfib_entry.c
src/vnet/mpls/mpls_tunnel.c
test/test_mpls.py