@@ -7224,43 +7224,6 @@ DEFUN_YANG (no_set_aggregator_as,
7224
7224
return nb_cli_apply_changes (vty , NULL );
7225
7225
}
7226
7226
7227
- DEFUN_YANG (match_ipv6_next_hop ,
7228
- match_ipv6_next_hop_cmd ,
7229
- "match ipv6 next-hop ACCESSLIST6_NAME" ,
7230
- MATCH_STR
7231
- IPV6_STR
7232
- "Match IPv6 next-hop address of route\n"
7233
- "IPv6 access-list name\n" )
7234
- {
7235
- const char * xpath =
7236
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
7237
- char xpath_value [XPATH_MAXLEN ];
7238
-
7239
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
7240
- snprintf (xpath_value , sizeof (xpath_value ),
7241
- "%s/rmap-match-condition/list-name" , xpath );
7242
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
7243
- argv [argc - 1 ]-> arg );
7244
-
7245
- return nb_cli_apply_changes (vty , NULL );
7246
- }
7247
-
7248
- DEFUN_YANG (no_match_ipv6_next_hop ,
7249
- no_match_ipv6_next_hop_cmd ,
7250
- "no match ipv6 next-hop [ACCESSLIST6_NAME]" ,
7251
- NO_STR
7252
- MATCH_STR
7253
- IPV6_STR
7254
- "Match IPv6 next-hop address of route\n"
7255
- "IPv6 access-list name\n" )
7256
- {
7257
- const char * xpath =
7258
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
7259
-
7260
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
7261
- return nb_cli_apply_changes (vty , NULL );
7262
- }
7263
-
7264
7227
DEFUN_YANG (match_ipv6_next_hop_address ,
7265
7228
match_ipv6_next_hop_address_cmd ,
7266
7229
"match ipv6 next-hop address X:X::X:X" ,
@@ -7318,45 +7281,6 @@ ALIAS_HIDDEN (no_match_ipv6_next_hop_address,
7318
7281
"Match IPv6 next-hop address of route\n"
7319
7282
"IPv6 address of next hop\n" )
7320
7283
7321
- DEFUN_YANG (match_ipv6_next_hop_prefix_list ,
7322
- match_ipv6_next_hop_prefix_list_cmd ,
7323
- "match ipv6 next-hop prefix-list PREFIXLIST_NAME" ,
7324
- MATCH_STR
7325
- IPV6_STR
7326
- "Match IPv6 next-hop address of route\n"
7327
- "Match entries by prefix-list\n"
7328
- "IPv6 prefix-list name\n" )
7329
- {
7330
- const char * xpath =
7331
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
7332
- char xpath_value [XPATH_MAXLEN ];
7333
-
7334
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
7335
- snprintf (xpath_value , sizeof (xpath_value ),
7336
- "%s/rmap-match-condition/list-name" , xpath );
7337
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
7338
- argv [argc - 1 ]-> arg );
7339
-
7340
- return nb_cli_apply_changes (vty , NULL );
7341
- }
7342
-
7343
- DEFUN_YANG (no_match_ipv6_next_hop_prefix_list ,
7344
- no_match_ipv6_next_hop_prefix_list_cmd ,
7345
- "no match ipv6 next-hop prefix-list [PREFIXLIST_NAME]" ,
7346
- NO_STR
7347
- MATCH_STR
7348
- IPV6_STR
7349
- "Match IPv6 next-hop address of route\n"
7350
- "Match entries by prefix-list\n"
7351
- "IPv6 prefix-list name\n" )
7352
- {
7353
- const char * xpath =
7354
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
7355
-
7356
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
7357
- return nb_cli_apply_changes (vty , NULL );
7358
- }
7359
-
7360
7284
DEFPY_YANG (match_ipv4_next_hop ,
7361
7285
match_ipv4_next_hop_cmd ,
7362
7286
"match ip next-hop address A.B.C.D" ,
@@ -8029,12 +7953,8 @@ void bgp_route_map_init(void)
8029
7953
route_map_install_set (& route_set_ipv6_nexthop_peer_cmd );
8030
7954
route_map_install_match (& route_match_rpki_extcommunity_cmd );
8031
7955
8032
- install_element (RMAP_NODE , & match_ipv6_next_hop_cmd );
8033
7956
install_element (RMAP_NODE , & match_ipv6_next_hop_address_cmd );
8034
- install_element (RMAP_NODE , & match_ipv6_next_hop_prefix_list_cmd );
8035
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_cmd );
8036
7957
install_element (RMAP_NODE , & no_match_ipv6_next_hop_address_cmd );
8037
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_prefix_list_cmd );
8038
7958
install_element (RMAP_NODE , & match_ipv6_next_hop_old_cmd );
8039
7959
install_element (RMAP_NODE , & no_match_ipv6_next_hop_old_cmd );
8040
7960
install_element (RMAP_NODE , & match_ipv4_next_hop_cmd );
0 commit comments