]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isis_nb.h
isisd: Fix Attach-bit processing
authorlynne <lynne@voltanet.io>
Thu, 24 Dec 2020 18:29:42 +0000 (13:29 -0500)
committerlynne <lynne@voltanet.io>
Wed, 20 Jan 2021 14:24:35 +0000 (09:24 -0500)
commitf3abc412a56a9cd3b6efbf16637231d157c73e7d
tree8b4c1435b6f354600290ad64ea56ca24ddc471d2
parent44ba9e779d6165222420904c6cbe7b16c9dc35b7
isisd: Fix Attach-bit processing

The purpose of the Attach-bit is to accomplish inter-area routing.  In other
venders, the Attached-bit is automatically set when a router is configured
as a L1|L2 router and has two adjacencies.  When a L1 router receives a LSP
with the Attached-bit set it is supposed to create a default route pointing
toward the neighbor to provide a default path out of the L1 area.

ISIS implementation has been fixed to support the above definition:
Setting the Attach-bit is now the default behavior and we allow the user to
turn it off.

We will only set the Default Attach-bit when creating a L1 LSP, if we are
a L1|L2 router and have a L2 adjacency up.

When a L1 router receives a LSP with the Attach-bit set, we will create a
default route pointing to the L1|L2 router as the nexthop.

The default route will be removed if the LSP is received with the Attach-bit
cleared.

Signed-off-by: Lynne Morrison <lynne@voltanet.io>
isisd/isis_cli.c
isisd/isis_constants.h
isisd/isis_lsp.c
isisd/isis_nb.c
isisd/isis_nb.h
isisd/isis_nb_config.c
isisd/isis_pdu.c
isisd/isis_spf.c
isisd/isisd.c
isisd/isisd.h
yang/frr-isisd.yang