Skip to content

Commit

Permalink
bgpd: Depracate no_synchronization_cmd, no_auto_summary_cmd commands
Browse files Browse the repository at this point in the history
Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Nov 14, 2024
1 parent f2f6d1c commit afb6f66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bgpd/bgp_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,9 @@ DEFUN_HIDDEN (no_bgp_local_mac,
return CMD_SUCCESS;
}

#if CONFDATE > 20250514
CPP_NOTICE("Remove no_synchronization_cmd, no_auto_summary_cmd commands")
#endif
DEFUN (no_synchronization,
no_synchronization_cmd,
"no synchronization",
Expand Down Expand Up @@ -20442,6 +20445,9 @@ void bgp_vty_init(void)
install_element(CONFIG_NODE,
&no_bgp_graceful_restart_rib_stale_time_cmd);

#if CONFDATE > 20250514
CPP_NOTICE("Remove no_synchronization_cmd, no_auto_summary_cmd commands")
#endif
/* Dummy commands (Currently not supported) */
install_element(BGP_NODE, &no_synchronization_cmd);
install_element(BGP_NODE, &no_auto_summary_cmd);
Expand Down

0 comments on commit afb6f66

Please sign in to comment.