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