mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-01 10:32:36 +00:00 
			
		
		
		
	bgpd: Allow deleting by no bgp large-community-list standard WORD
				
					
				
			Without with fix we can't delete large-community-list using no bgp large-community-list standard WORD, but no bgp large-community-list WORD Let's keep this identical what we have with expanded lists as well. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
		
							parent
							
								
									2f8cc0e565
								
							
						
					
					
						commit
						4378f57c3e
					
				| @ -14736,8 +14736,8 @@ DEFUN (lcommunity_list_name_expanded, | ||||
| 				       LARGE_COMMUNITY_LIST_EXPANDED, 1); | ||||
| } | ||||
| 
 | ||||
| DEFUN (no_lcommunity_list_standard_all, | ||||
|        no_bgp_lcommunity_list_standard_all_cmd, | ||||
| DEFUN (no_lcommunity_list_all, | ||||
|        no_bgp_lcommunity_list_all_cmd, | ||||
|        "no bgp large-community-list <(1-99)|(100-500)|WORD>", | ||||
|        NO_STR | ||||
|        BGP_STR | ||||
| @ -14750,6 +14750,19 @@ DEFUN (no_lcommunity_list_standard_all, | ||||
| 					 LARGE_COMMUNITY_LIST_STANDARD); | ||||
| } | ||||
| 
 | ||||
| DEFUN (no_lcommunity_list_name_standard_all, | ||||
|        no_bgp_lcommunity_list_name_standard_all_cmd, | ||||
|        "no bgp large-community-list standard WORD", | ||||
|        NO_STR | ||||
|        BGP_STR | ||||
|        LCOMMUNITY_LIST_STR | ||||
|        "Specify standard large-community-list\n" | ||||
|        "Large Community list name\n") | ||||
| { | ||||
| 	return lcommunity_list_unset_vty(vty, argc, argv, | ||||
| 					 LARGE_COMMUNITY_LIST_STANDARD); | ||||
| } | ||||
| 
 | ||||
| DEFUN (no_lcommunity_list_name_expanded_all, | ||||
|        no_bgp_lcommunity_list_name_expanded_all_cmd, | ||||
|        "no bgp large-community-list expanded WORD", | ||||
| @ -15345,7 +15358,9 @@ static void community_list_vty(void) | ||||
| 	install_element(CONFIG_NODE, &bgp_lcommunity_list_expanded_cmd); | ||||
| 	install_element(CONFIG_NODE, &bgp_lcommunity_list_name_standard_cmd); | ||||
| 	install_element(CONFIG_NODE, &bgp_lcommunity_list_name_expanded_cmd); | ||||
| 	install_element(CONFIG_NODE, &no_bgp_lcommunity_list_standard_all_cmd); | ||||
| 	install_element(CONFIG_NODE, &no_bgp_lcommunity_list_all_cmd); | ||||
| 	install_element(CONFIG_NODE, | ||||
| 			&no_bgp_lcommunity_list_name_standard_all_cmd); | ||||
| 	install_element(CONFIG_NODE, | ||||
| 			&no_bgp_lcommunity_list_name_expanded_all_cmd); | ||||
| 	install_element(CONFIG_NODE, &no_bgp_lcommunity_list_standard_cmd); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Donatas Abraitis
						Donatas Abraitis