mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 16:57:44 +00:00
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>
This commit is contained in:
parent
84f784fafa
commit
346bbb394e
@ -9082,7 +9082,7 @@ DEFPY (af_sid_vpn_export,
|
|||||||
|
|
||||||
DEFPY (bgp_sid_vpn_export,
|
DEFPY (bgp_sid_vpn_export,
|
||||||
bgp_sid_vpn_export_cmd,
|
bgp_sid_vpn_export_cmd,
|
||||||
"[no] sid vpn per-vrf export <(1-255)$sid_idx|auto$sid_auto>",
|
"[no] sid vpn per-vrf export <(1-1048575)$sid_idx|auto$sid_auto>",
|
||||||
NO_STR
|
NO_STR
|
||||||
"sid value for VRF\n"
|
"sid value for VRF\n"
|
||||||
"Between current vrf and vpn\n"
|
"Between current vrf and vpn\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user