From ce4eccfa800fccb461ac99ec3b6f12ba190c185d Mon Sep 17 00:00:00 2001 From: Fredi Raspall Date: Fri, 23 Apr 2021 18:33:43 +0200 Subject: 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 --- isisd/isis_circuit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'isisd/isis_circuit.h') diff --git a/isisd/isis_circuit.h b/isisd/isis_circuit.h index 45c0a7e0e..84c3ca3ff 100644 --- a/isisd/isis_circuit.h +++ b/isisd/isis_circuit.h @@ -152,6 +152,7 @@ struct isis_circuit { struct hash *lfa_excluded_ifaces[ISIS_LEVELS]; bool tilfa_protection[ISIS_LEVELS]; bool tilfa_node_protection[ISIS_LEVELS]; + bool tilfa_link_fallback[ISIS_LEVELS]; /* * Counters as in 10589--11.2.5.9 */ -- cgit v1.2.3