bgpd: enable vpn multipath

Enable BGP multipath for ivp4 and ipv6 VPN. The code is ready for that.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
Louis Scalbert 2025-01-09 15:35:16 +01:00
parent 465d286819
commit 3d451d9746

View file

@ -20615,6 +20615,17 @@ void bgp_vty_init(void)
install_element(BGP_IPV6L_NODE, &bgp_maxpaths_ibgp_cluster_cmd);
install_element(BGP_IPV6L_NODE, &no_bgp_maxpaths_ibgp_cmd);
install_element(BGP_VPNV4_NODE, &bgp_maxpaths_cmd);
install_element(BGP_VPNV4_NODE, &no_bgp_maxpaths_cmd);
install_element(BGP_VPNV4_NODE, &bgp_maxpaths_ibgp_cmd);
install_element(BGP_VPNV4_NODE, &bgp_maxpaths_ibgp_cluster_cmd);
install_element(BGP_VPNV4_NODE, &no_bgp_maxpaths_ibgp_cmd);
install_element(BGP_VPNV6_NODE, &bgp_maxpaths_cmd);
install_element(BGP_VPNV6_NODE, &no_bgp_maxpaths_cmd);
install_element(BGP_VPNV6_NODE, &bgp_maxpaths_ibgp_cmd);
install_element(BGP_VPNV6_NODE, &bgp_maxpaths_ibgp_cluster_cmd);
install_element(BGP_VPNV6_NODE, &no_bgp_maxpaths_ibgp_cmd);
/* "timers bgp" commands. */
install_element(BGP_NODE, &bgp_timers_cmd);
install_element(BGP_NODE, &no_bgp_timers_cmd);