]> git.proxmox.com Git - mirror_frr.git/commit
isisd: update isis_tlvs_add_*_reach() with multi algorithm
authorHiroki Shirokura <hiroki.shirokura@linecorp.com>
Sat, 11 Dec 2021 06:22:42 +0000 (06:22 +0000)
committerLouis Scalbert <louis.scalbert@6wind.com>
Tue, 18 Apr 2023 08:11:52 +0000 (10:11 +0200)
commit0de7b43308e13b810202885d94ce2e8aa9734c31
tree77271bc3da445330f54ef4ddf75fcd9d571fc720
parente7948f8ce607fca184a5c86591c29e31604454ae
isisd: update isis_tlvs_add_*_reach() with multi algorithm

isis_tlvs_add_extended_ip_reach adds IS-IS Extended
IP reachability to the LSP. In this case, if the
pcfg argument is not NULL, you can add IGP
Prefix-SID as its sub tlv.

Before this commit, only one Prefix-SID can be added.
After this commit, the argument is not a single
pointer but an array of pointers, and multiple
Prefix-SIDs can be added.

This feature is necessary because Flex-Algo
requires multiple Prefix-SIDs for each Algorithm.

Signed-off-by: Hiroki Shirokura <hiroki.shirokura@linecorp.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
isisd/isis_lsp.c
isisd/isis_tlvs.c
isisd/isis_tlvs.h
tests/isisd/test_common.c