@@ -7218,43 +7218,6 @@ DEFUN_YANG (no_set_aggregator_as,
7218
7218
return nb_cli_apply_changes (vty , NULL );
7219
7219
}
7220
7220
7221
- DEFUN_YANG (match_ipv6_next_hop ,
7222
- match_ipv6_next_hop_cmd ,
7223
- "match ipv6 next-hop ACCESSLIST6_NAME" ,
7224
- MATCH_STR
7225
- IPV6_STR
7226
- "Match IPv6 next-hop address of route\n"
7227
- "IPv6 access-list name\n" )
7228
- {
7229
- const char * xpath =
7230
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
7231
- char xpath_value [XPATH_MAXLEN ];
7232
-
7233
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
7234
- snprintf (xpath_value , sizeof (xpath_value ),
7235
- "%s/rmap-match-condition/list-name" , xpath );
7236
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
7237
- argv [argc - 1 ]-> arg );
7238
-
7239
- return nb_cli_apply_changes (vty , NULL );
7240
- }
7241
-
7242
- DEFUN_YANG (no_match_ipv6_next_hop ,
7243
- no_match_ipv6_next_hop_cmd ,
7244
- "no match ipv6 next-hop [ACCESSLIST6_NAME]" ,
7245
- NO_STR
7246
- MATCH_STR
7247
- IPV6_STR
7248
- "Match IPv6 next-hop address of route\n"
7249
- "IPv6 access-list name\n" )
7250
- {
7251
- const char * xpath =
7252
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
7253
-
7254
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
7255
- return nb_cli_apply_changes (vty , NULL );
7256
- }
7257
-
7258
7221
DEFUN_YANG (match_ipv6_next_hop_address ,
7259
7222
match_ipv6_next_hop_address_cmd ,
7260
7223
"match ipv6 next-hop address X:X::X:X" ,
@@ -7312,45 +7275,6 @@ ALIAS_HIDDEN (no_match_ipv6_next_hop_address,
7312
7275
"Match IPv6 next-hop address of route\n"
7313
7276
"IPv6 address of next hop\n" )
7314
7277
7315
- DEFUN_YANG (match_ipv6_next_hop_prefix_list ,
7316
- match_ipv6_next_hop_prefix_list_cmd ,
7317
- "match ipv6 next-hop prefix-list PREFIXLIST_NAME" ,
7318
- MATCH_STR
7319
- IPV6_STR
7320
- "Match IPv6 next-hop address of route\n"
7321
- "Match entries by prefix-list\n"
7322
- "IPv6 prefix-list name\n" )
7323
- {
7324
- const char * xpath =
7325
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
7326
- char xpath_value [XPATH_MAXLEN ];
7327
-
7328
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
7329
- snprintf (xpath_value , sizeof (xpath_value ),
7330
- "%s/rmap-match-condition/list-name" , xpath );
7331
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
7332
- argv [argc - 1 ]-> arg );
7333
-
7334
- return nb_cli_apply_changes (vty , NULL );
7335
- }
7336
-
7337
- DEFUN_YANG (no_match_ipv6_next_hop_prefix_list ,
7338
- no_match_ipv6_next_hop_prefix_list_cmd ,
7339
- "no match ipv6 next-hop prefix-list [PREFIXLIST_NAME]" ,
7340
- NO_STR
7341
- MATCH_STR
7342
- IPV6_STR
7343
- "Match IPv6 next-hop address of route\n"
7344
- "Match entries by prefix-list\n"
7345
- "IPv6 prefix-list name\n" )
7346
- {
7347
- const char * xpath =
7348
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
7349
-
7350
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
7351
- return nb_cli_apply_changes (vty , NULL );
7352
- }
7353
-
7354
7278
DEFPY_YANG (match_ipv4_next_hop ,
7355
7279
match_ipv4_next_hop_cmd ,
7356
7280
"match ip next-hop address A.B.C.D" ,
@@ -8023,12 +7947,8 @@ void bgp_route_map_init(void)
8023
7947
route_map_install_set (& route_set_ipv6_nexthop_peer_cmd );
8024
7948
route_map_install_match (& route_match_rpki_extcommunity_cmd );
8025
7949
8026
- install_element (RMAP_NODE , & match_ipv6_next_hop_cmd );
8027
7950
install_element (RMAP_NODE , & match_ipv6_next_hop_address_cmd );
8028
- install_element (RMAP_NODE , & match_ipv6_next_hop_prefix_list_cmd );
8029
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_cmd );
8030
7951
install_element (RMAP_NODE , & no_match_ipv6_next_hop_address_cmd );
8031
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_prefix_list_cmd );
8032
7952
install_element (RMAP_NODE , & match_ipv6_next_hop_old_cmd );
8033
7953
install_element (RMAP_NODE , & no_match_ipv6_next_hop_old_cmd );
8034
7954
install_element (RMAP_NODE , & match_ipv4_next_hop_cmd );
0 commit comments