summaryrefslogtreecommitdiffstats
path: root/yang/frr-isisd.yang
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-09-20 07:42:32 +0200
committerRenato Westphal <renato@opensourcerouting.org>2020-10-23 15:31:39 +0200
commit01983712cc8f000d97ef2385a7f1fc3a8b79891c (patch)
tree9dc0e4e496eeb1d3c81da95df563f458927f987c /yang/frr-isisd.yang
parentisisd: fix the TI-LFA repair paths to preserve the original Prefix-SID (diff)
downloadfrr-01983712cc8f000d97ef2385a7f1fc3a8b79891c.tar.xz
frr-01983712cc8f000d97ef2385a7f1fc3a8b79891c.zip
isisd: add support for Anycast-SIDs
Add the "n-flag-clear" option to the "segment-routing prefix" command. The only thing that option does is to clear the node flag of the Prefix-SID, even if it corresponds to a local loopback address. No changes are necessary other than that in order to fully support Anycast-SIDs. isisd already supports multiple routers advertising the same route with the same Prefix-SID after the recent refactoring. Clearing the node flag for such anycast routes isn't strictly required, but failure to do so can lead to problems like TI-LFA picking the wrong Prefix-SID when calculating repair paths. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'yang/frr-isisd.yang')
-rw-r--r--yang/frr-isisd.yang6
1 files changed, 6 insertions, 0 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang
index 06d1a793b..c3b39e375 100644
--- a/yang/frr-isisd.yang
+++ b/yang/frr-isisd.yang
@@ -1381,6 +1381,12 @@ module frr-isisd {
description
"Configure last hop behavior.";
}
+ leaf n-flag-clear {
+ type boolean;
+ default "false";
+ description
+ "Not a node SID";
+ }
}
}
}