]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isis_nb_config.c
isisd: link protection optional fallback in ti-lfa
authorFredi Raspall <fredi@voltanet.io>
Fri, 23 Apr 2021 16:33:43 +0000 (18:33 +0200)
committerFredi Raspall <fredi@voltanet.io>
Mon, 3 May 2021 15:27:37 +0000 (17:27 +0200)
commitce4eccfa800fccb461ac99ec3b6f12ba190c185d
treeae1e115b4d221e5f86cc1339328981759fb74c02
parentf71e1ff6a98d0e244c7da11d870d14e31b517811
isisd: link protection optional fallback in ti-lfa

The current implementation of TI-LFA computes link-protecting
repair paths (even when node protection is enabled) to have repair
paths to all destinations when no node-protecting repair has been
found. This may be desired or not. E.g. the link-protecting paths
may use the protected node and be, therefore, useless if the node
fails. Also, computing link-protecting repairs incurs extra
calculations.

With this patch, when node protection is enabled, link protecting
repair paths are only computed if "link-fallback" is specified in
the configuration, on a per interface and IS-IS level.

Signed-off-by: Fredi Raspall <fredi@voltanet.io>
isisd/isis_circuit.h
isisd/isis_cli.c
isisd/isis_lfa.c
isisd/isis_nb.c
isisd/isis_nb.h
isisd/isis_nb_config.c
yang/frr-isisd.yang