@@ -6696,43 +6696,6 @@ DEFUN_YANG (no_set_aggregator_as,
6696
6696
return nb_cli_apply_changes (vty , NULL );
6697
6697
}
6698
6698
6699
- DEFUN_YANG (match_ipv6_next_hop ,
6700
- match_ipv6_next_hop_cmd ,
6701
- "match ipv6 next-hop ACCESSLIST6_NAME" ,
6702
- MATCH_STR
6703
- IPV6_STR
6704
- "Match IPv6 next-hop address of route\n"
6705
- "IPv6 access-list name\n" )
6706
- {
6707
- const char * xpath =
6708
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
6709
- char xpath_value [XPATH_MAXLEN ];
6710
-
6711
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
6712
- snprintf (xpath_value , sizeof (xpath_value ),
6713
- "%s/rmap-match-condition/list-name" , xpath );
6714
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
6715
- argv [argc - 1 ]-> arg );
6716
-
6717
- return nb_cli_apply_changes (vty , NULL );
6718
- }
6719
-
6720
- DEFUN_YANG (no_match_ipv6_next_hop ,
6721
- no_match_ipv6_next_hop_cmd ,
6722
- "no match ipv6 next-hop [ACCESSLIST6_NAME]" ,
6723
- NO_STR
6724
- MATCH_STR
6725
- IPV6_STR
6726
- "Match IPv6 next-hop address of route\n"
6727
- "IPv6 access-list name\n" )
6728
- {
6729
- const char * xpath =
6730
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
6731
-
6732
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
6733
- return nb_cli_apply_changes (vty , NULL );
6734
- }
6735
-
6736
6699
DEFUN_YANG (match_ipv6_next_hop_address ,
6737
6700
match_ipv6_next_hop_address_cmd ,
6738
6701
"match ipv6 next-hop address X:X::X:X" ,
@@ -6790,45 +6753,6 @@ ALIAS_HIDDEN (no_match_ipv6_next_hop_address,
6790
6753
"Match IPv6 next-hop address of route\n"
6791
6754
"IPv6 address of next hop\n" )
6792
6755
6793
- DEFUN_YANG (match_ipv6_next_hop_prefix_list ,
6794
- match_ipv6_next_hop_prefix_list_cmd ,
6795
- "match ipv6 next-hop prefix-list PREFIXLIST_NAME" ,
6796
- MATCH_STR
6797
- IPV6_STR
6798
- "Match IPv6 next-hop address of route\n"
6799
- "Match entries by prefix-list\n"
6800
- "IPv6 prefix-list name\n" )
6801
- {
6802
- const char * xpath =
6803
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
6804
- char xpath_value [XPATH_MAXLEN ];
6805
-
6806
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
6807
- snprintf (xpath_value , sizeof (xpath_value ),
6808
- "%s/rmap-match-condition/list-name" , xpath );
6809
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
6810
- argv [argc - 1 ]-> arg );
6811
-
6812
- return nb_cli_apply_changes (vty , NULL );
6813
- }
6814
-
6815
- DEFUN_YANG (no_match_ipv6_next_hop_prefix_list ,
6816
- no_match_ipv6_next_hop_prefix_list_cmd ,
6817
- "no match ipv6 next-hop prefix-list [PREFIXLIST_NAME]" ,
6818
- NO_STR
6819
- MATCH_STR
6820
- IPV6_STR
6821
- "Match IPv6 next-hop address of route\n"
6822
- "Match entries by prefix-list\n"
6823
- "IPv6 prefix-list name\n" )
6824
- {
6825
- const char * xpath =
6826
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
6827
-
6828
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
6829
- return nb_cli_apply_changes (vty , NULL );
6830
- }
6831
-
6832
6756
DEFPY_YANG (match_ipv4_next_hop ,
6833
6757
match_ipv4_next_hop_cmd ,
6834
6758
"match ip next-hop address A.B.C.D" ,
@@ -7488,12 +7412,8 @@ void bgp_route_map_init(void)
7488
7412
route_map_install_set (& route_set_ipv6_nexthop_peer_cmd );
7489
7413
route_map_install_match (& route_match_rpki_extcommunity_cmd );
7490
7414
7491
- install_element (RMAP_NODE , & match_ipv6_next_hop_cmd );
7492
7415
install_element (RMAP_NODE , & match_ipv6_next_hop_address_cmd );
7493
- install_element (RMAP_NODE , & match_ipv6_next_hop_prefix_list_cmd );
7494
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_cmd );
7495
7416
install_element (RMAP_NODE , & no_match_ipv6_next_hop_address_cmd );
7496
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_prefix_list_cmd );
7497
7417
install_element (RMAP_NODE , & match_ipv6_next_hop_old_cmd );
7498
7418
install_element (RMAP_NODE , & no_match_ipv6_next_hop_old_cmd );
7499
7419
install_element (RMAP_NODE , & match_ipv4_next_hop_cmd );
0 commit comments