]> git.puffer.fish Git - matthieu/frr.git/commit
isisd, tests: fix bug when sending TI-LFA repair paths to zebra
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 20 Nov 2020 03:54:41 +0000 (00:54 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 23 Nov 2020 18:22:36 +0000 (15:22 -0300)
commit50ec21859f73da787e790ee271e922402d41d31a
treee790316c51fdd19b3b1b8d92bbdf60be74601d4c
parent6f6adeee98290a3283dfdc5aa66c2a956c03af30
isisd, tests: fix bug when sending TI-LFA repair paths to zebra

Commit 4c75f7c7730220b fixed a bug in which the TI-LFA repair paths
weren't preserving the original Prefix-SID of the routes. That
commit, however, didn't update the zebra interface code to account
for backup nexthops that don't have a repair list but do have a
SR label. As a consequence, backup nexthops that didn't have any
repair label were not preserving the original Prefix-SID of the
corresponding routes. Fix this and update the TI-LFA topotest
accordingly.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
114 files changed:
isisd/isis_zebra.c
tests/topotests/isis-tilfa-topo1/rt1/step1/show_mpls_table.ref
tests/topotests/isis-tilfa-topo1/rt1/step4/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step4/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step4/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step5/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step5/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step5/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step7/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step7/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step7/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step8/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step8/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step8/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step9/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step9/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt1/step9/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step1/show_ip_route.ref
tests/topotests/isis-tilfa-topo1/rt2/step1/show_ipv6_route.ref
tests/topotests/isis-tilfa-topo1/rt2/step1/show_mpls_table.ref
tests/topotests/isis-tilfa-topo1/rt2/step2/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step2/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step2/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step3/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step3/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step3/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step4/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step4/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step4/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step5/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step5/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step5/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step7/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step7/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step7/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step8/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step8/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step8/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step9/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step9/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt2/step9/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step1/show_ip_route.ref
tests/topotests/isis-tilfa-topo1/rt3/step1/show_ipv6_route.ref
tests/topotests/isis-tilfa-topo1/rt3/step1/show_mpls_table.ref
tests/topotests/isis-tilfa-topo1/rt3/step4/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step4/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step4/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step5/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step5/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step5/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step6/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step6/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step6/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step7/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step7/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step7/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step8/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step8/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step8/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step9/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step9/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt3/step9/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step1/show_ip_route.ref
tests/topotests/isis-tilfa-topo1/rt4/step1/show_ipv6_route.ref
tests/topotests/isis-tilfa-topo1/rt4/step1/show_mpls_table.ref
tests/topotests/isis-tilfa-topo1/rt4/step4/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step4/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step4/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step5/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step5/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step5/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step6/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step6/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step6/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step7/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step7/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step7/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step8/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step8/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step8/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step9/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step9/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt4/step9/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step1/show_ip_route.ref
tests/topotests/isis-tilfa-topo1/rt5/step1/show_ipv6_route.ref
tests/topotests/isis-tilfa-topo1/rt5/step1/show_mpls_table.ref
tests/topotests/isis-tilfa-topo1/rt5/step4/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step4/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step4/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step5/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step5/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step5/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt5/step6/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step1/show_ip_route.ref
tests/topotests/isis-tilfa-topo1/rt6/step1/show_ipv6_route.ref
tests/topotests/isis-tilfa-topo1/rt6/step1/show_mpls_table.ref
tests/topotests/isis-tilfa-topo1/rt6/step4/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step4/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step4/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step5/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step5/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step5/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step6/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step6/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step6/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step7/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step7/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step7/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step8/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step8/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step8/show_mpls_table.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step9/show_ip_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step9/show_ipv6_route.ref.diff
tests/topotests/isis-tilfa-topo1/rt6/step9/show_mpls_table.ref.diff