The modifications to TI-LFA and RLFA as described in Application of LFA Policy to a Segment Routing Node SID Tunnel are also applied to adjacency SID tunnel in a similar fashion.
The LFA selection algorithm for an adjacency to a neighbor is modified by applying the LFA policy of the link of the protected adjacency. It adheres to the following preference order:
Adjacency of an alternate parallel link to the same neighbor, determined as follows:
apply admin-group and SRLG constraints of the LFA policy of the link of the protected adjacency
select the adjacency with best admin-group(s) according to the preference specified in the value of the include-group option in the route next-hop policy template
select the adjacency with lowest metric
select the adjacency to the neighbor with the lowest router ID (OSPF) or system ID (IS-IS), and the lowest metric
select the adjacency over the lowest interface index, and the lowest neighbor router ID (OSPF) or system ID (IS-IS)
ECMP next hop to a node-SID of the same neighbor, determined as follows:
apply admin-group and SRLG constraints of the LFA policy of the link of the protected adjacency
select the next hop with the best admin-group(s) according to the preference specified in the value of the include-group option in the route next-hop policy template
select the next hop with lowest metric
select the next hop to the neighbor with the lowest router ID (OSPF) or system ID (ISIS), and the lowest metric
select the next hop over the lowest interface index, and the lowest neighbor router ID (OSPF) or system ID (IS-IS)
LFA backup outcome of a of a node SID of the same neighbor
select a LFA backup with an outgoing link that does not conflict with the LFA policy of the link of the protected adjacency