From afb6f66f2bef2fa8124d5144d2f8b6782e360efd Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Thu, 14 Nov 2024 16:12:19 +0200 Subject: [PATCH] bgpd: Depracate no_synchronization_cmd, no_auto_summary_cmd commands Signed-off-by: Donatas Abraitis --- bgpd/bgp_vty.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index e86d1dc65612..f4426a5a681d 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -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", @@ -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);