@@ -7236,43 +7236,6 @@ DEFUN_YANG (no_set_aggregator_as,
7236
7236
return nb_cli_apply_changes (vty , NULL );
7237
7237
}
7238
7238
7239
- DEFUN_YANG (match_ipv6_next_hop ,
7240
- match_ipv6_next_hop_cmd ,
7241
- "match ipv6 next-hop ACCESSLIST6_NAME" ,
7242
- MATCH_STR
7243
- IPV6_STR
7244
- "Match IPv6 next-hop address of route\n"
7245
- "IPv6 access-list name\n" )
7246
- {
7247
- const char * xpath =
7248
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
7249
- char xpath_value [XPATH_MAXLEN ];
7250
-
7251
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
7252
- snprintf (xpath_value , sizeof (xpath_value ),
7253
- "%s/rmap-match-condition/list-name" , xpath );
7254
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
7255
- argv [argc - 1 ]-> arg );
7256
-
7257
- return nb_cli_apply_changes (vty , NULL );
7258
- }
7259
-
7260
- DEFUN_YANG (no_match_ipv6_next_hop ,
7261
- no_match_ipv6_next_hop_cmd ,
7262
- "no match ipv6 next-hop [ACCESSLIST6_NAME]" ,
7263
- NO_STR
7264
- MATCH_STR
7265
- IPV6_STR
7266
- "Match IPv6 next-hop address of route\n"
7267
- "IPv6 access-list name\n" )
7268
- {
7269
- const char * xpath =
7270
- "./match-condition[condition='frr-route-map:ipv6-next-hop-list']" ;
7271
-
7272
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
7273
- return nb_cli_apply_changes (vty , NULL );
7274
- }
7275
-
7276
7239
DEFUN_YANG (match_ipv6_next_hop_address ,
7277
7240
match_ipv6_next_hop_address_cmd ,
7278
7241
"match ipv6 next-hop address X:X::X:X" ,
@@ -7330,45 +7293,6 @@ ALIAS_HIDDEN (no_match_ipv6_next_hop_address,
7330
7293
"Match IPv6 next-hop address of route\n"
7331
7294
"IPv6 address of next hop\n" )
7332
7295
7333
- DEFUN_YANG (match_ipv6_next_hop_prefix_list ,
7334
- match_ipv6_next_hop_prefix_list_cmd ,
7335
- "match ipv6 next-hop prefix-list PREFIXLIST_NAME" ,
7336
- MATCH_STR
7337
- IPV6_STR
7338
- "Match IPv6 next-hop address of route\n"
7339
- "Match entries by prefix-list\n"
7340
- "IPv6 prefix-list name\n" )
7341
- {
7342
- const char * xpath =
7343
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
7344
- char xpath_value [XPATH_MAXLEN ];
7345
-
7346
- nb_cli_enqueue_change (vty , xpath , NB_OP_CREATE , NULL );
7347
- snprintf (xpath_value , sizeof (xpath_value ),
7348
- "%s/rmap-match-condition/list-name" , xpath );
7349
- nb_cli_enqueue_change (vty , xpath_value , NB_OP_MODIFY ,
7350
- argv [argc - 1 ]-> arg );
7351
-
7352
- return nb_cli_apply_changes (vty , NULL );
7353
- }
7354
-
7355
- DEFUN_YANG (no_match_ipv6_next_hop_prefix_list ,
7356
- no_match_ipv6_next_hop_prefix_list_cmd ,
7357
- "no match ipv6 next-hop prefix-list [PREFIXLIST_NAME]" ,
7358
- NO_STR
7359
- MATCH_STR
7360
- IPV6_STR
7361
- "Match IPv6 next-hop address of route\n"
7362
- "Match entries by prefix-list\n"
7363
- "IPv6 prefix-list name\n" )
7364
- {
7365
- const char * xpath =
7366
- "./match-condition[condition='frr-route-map:ipv6-next-hop-prefix-list']" ;
7367
-
7368
- nb_cli_enqueue_change (vty , xpath , NB_OP_DESTROY , NULL );
7369
- return nb_cli_apply_changes (vty , NULL );
7370
- }
7371
-
7372
7296
DEFPY_YANG (match_ipv4_next_hop ,
7373
7297
match_ipv4_next_hop_cmd ,
7374
7298
"match ip next-hop address A.B.C.D" ,
@@ -8041,12 +7965,8 @@ void bgp_route_map_init(void)
8041
7965
route_map_install_set (& route_set_ipv6_nexthop_peer_cmd );
8042
7966
route_map_install_match (& route_match_rpki_extcommunity_cmd );
8043
7967
8044
- install_element (RMAP_NODE , & match_ipv6_next_hop_cmd );
8045
7968
install_element (RMAP_NODE , & match_ipv6_next_hop_address_cmd );
8046
- install_element (RMAP_NODE , & match_ipv6_next_hop_prefix_list_cmd );
8047
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_cmd );
8048
7969
install_element (RMAP_NODE , & no_match_ipv6_next_hop_address_cmd );
8049
- install_element (RMAP_NODE , & no_match_ipv6_next_hop_prefix_list_cmd );
8050
7970
install_element (RMAP_NODE , & match_ipv6_next_hop_old_cmd );
8051
7971
install_element (RMAP_NODE , & no_match_ipv6_next_hop_old_cmd );
8052
7972
install_element (RMAP_NODE , & match_ipv4_next_hop_cmd );
0 commit comments