]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: add attribute-unchanged attribute to flowspec
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 19 Feb 2021 13:17:05 +0000 (14:17 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 19 Feb 2021 13:17:05 +0000 (14:17 +0100)
flowspec address family can now use attribute-unchanged attribute.
This parameter is necessary when it comes to play with
route-server-client, as that latter command forces to change
attribute-unchanged nexthop.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_vty.c

index f8ef5e2aa22438856d37211d542cb00945a00e1b..ab9e8af96ddd8e548a55115f8c973ac6a1b38290 100644 (file)
@@ -18077,6 +18077,11 @@ void bgp_vty_init(void)
        install_element(BGP_EVPN_NODE, &neighbor_attr_unchanged_cmd);
        install_element(BGP_EVPN_NODE, &no_neighbor_attr_unchanged_cmd);
 
+       install_element(BGP_FLOWSPECV4_NODE, &neighbor_attr_unchanged_cmd);
+       install_element(BGP_FLOWSPECV4_NODE, &no_neighbor_attr_unchanged_cmd);
+       install_element(BGP_FLOWSPECV6_NODE, &neighbor_attr_unchanged_cmd);
+       install_element(BGP_FLOWSPECV6_NODE, &no_neighbor_attr_unchanged_cmd);
+
        /* "nexthop-local unchanged" commands */
        install_element(BGP_IPV6_NODE, &neighbor_nexthop_local_unchanged_cmd);
        install_element(BGP_IPV6_NODE,