]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix SRv6 SID index limit
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Fri, 18 Nov 2022 07:47:58 +0000 (08:47 +0100)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Fri, 18 Nov 2022 07:47:58 +0000 (08:47 +0100)
commit346bbb394e83595eec1497897c6f164a3575147c
treeb4eb50faec398bf518659a4ec1c7c1d9b49d2b65
parent84f784fafa34b4fe4021d9a17fbffe5bc2fff32e
bgpd: Fix SRv6 SID index limit

Previously BGP supported up to 255 SIDs.

The PR https://github.com/FRRouting/frr/pull/11981 extended the
transposition computation algorithm in BGP to support more SIDs (up to
1048575 SIDs).

However the BGP VTY command for allocating an SRv6 per-VRF SID
(`sid vpn per-vrf export`) is still limited to 255 SIDs.

This commit extends the SID index in `sid vpn per-vrf export` VTY
command to support up to 1048575 SIDs.

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
bgpd/bgp_vty.c