diff options
author | Fredi Raspall <fredi@voltanet.io> | 2021-04-23 18:33:43 +0200 |
---|---|---|
committer | Fredi Raspall <fredi@voltanet.io> | 2021-05-03 17:27:37 +0200 |
commit | ce4eccfa800fccb461ac99ec3b6f12ba190c185d (patch) | |
tree | ae1e115b4d221e5f86cc1339328981759fb74c02 /isisd/isis_circuit.h | |
parent | Merge pull request #8545 from opensourcerouting/assert-our-own (diff) | |
download | frr-ce4eccfa800fccb461ac99ec3b6f12ba190c185d.tar.xz frr-ce4eccfa800fccb461ac99ec3b6f12ba190c185d.zip |
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>
Diffstat (limited to 'isisd/isis_circuit.h')
-rw-r--r-- | isisd/isis_circuit.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |