summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-01-30 03:27:49 +0100
committerDonald Sharp <sharpd@nvidia.com>2021-01-30 03:30:27 +0100
commit4c3e9f072a415aa02f367aaff1cc90dd6fda5d06 (patch)
treee581a6b16be8038a9f040bf528cd49a29b3b8454 /bgpd
parentMerge pull request #7953 from mjstapp/fix_more_ntoa (diff)
downloadfrr-4c3e9f072a415aa02f367aaff1cc90dd6fda5d06.tar.xz
frr-4c3e9f072a415aa02f367aaff1cc90dd6fda5d06.zip
bgpd: Remove hidden `neighbor X route-map Y <in|out>` command
This command was put in place to allow upgrades for the neighbor command from the BGP_NODE and have it put into the ipv4 uni node instead. Since this utterly kills the yang conversion. I believe we need to remove this. Since people upgrading will just loose the route-map applicatoin( if they are using such an old config ) and RFC 8212 will come into play. They'll figure it out pretty fast. Fixes: #7983 Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_vty.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 514af5b82..a89c245e2 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -8014,22 +8014,6 @@ DEFPY_YANG(
return nb_cli_apply_changes(vty, base_xpath);
}
-ALIAS_HIDDEN(neighbor_route_map, neighbor_route_map_hidden_cmd,
- "neighbor <A.B.C.D|X:X::X:X|WORD> route-map WORD <in|out>",
- NEIGHBOR_STR NEIGHBOR_ADDR_STR2
- "Apply route map to neighbor\n"
- "Name of route map\n"
- "Apply map to incoming routes\n"
- "Apply map to outbound routes\n")
-
-ALIAS_HIDDEN(neighbor_route_map, no_neighbor_route_map_hidden_cmd,
- "no neighbor <A.B.C.D|X:X::X:X|WORD> route-map WORD <in|out>",
- NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2
- "Apply route map to neighbor\n"
- "Name of route map\n"
- "Apply map to incoming routes\n"
- "Apply map to outbound routes\n")
-
/* Set unsuppress-map to the peer. */
static int peer_unsuppress_map_set_vty(struct vty *vty, const char *ip_str,
afi_t afi, safi_t safi,
@@ -18661,8 +18645,6 @@ void bgp_vty_init(void)
install_element(BGP_FLOWSPECV6_NODE, &no_neighbor_filter_list_cmd);
/* "neighbor route-map" commands. */
- install_element(BGP_NODE, &neighbor_route_map_hidden_cmd);
- install_element(BGP_NODE, &no_neighbor_route_map_hidden_cmd);
install_element(BGP_IPV4_NODE, &neighbor_route_map_cmd);
install_element(BGP_IPV4M_NODE, &neighbor_route_map_cmd);
install_element(BGP_IPV4L_NODE, &neighbor_route_map_cmd);