vtysh: Schedule shell access for deprecation

Schedule shell access for deprecation and removal in
a years time.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2023-02-01 10:26:41 -05:00
parent aa16204dfb
commit 0876b4c1b8
2 changed files with 5 additions and 1 deletions

View File

@ -314,7 +314,8 @@ options from the list below.
Turn on the ability of FRR to access some shell options( telnet/ssh/bash/etc. )
from vtysh itself. This option is considered extremely unsecure and should only
be considered for usage if you really really know what you are doing.
be considered for usage if you really really know what you are doing. This
option is deprecated and will be removed on Feb 1, 2024.
.. option:: --enable-gcov

View File

@ -4014,6 +4014,9 @@ DEFUN (vtysh_traceroute6,
return CMD_SUCCESS;
}
#if CONFDATE > 20240201
CPP_NOTICE("Remove HAVE_SHELL_ACCESS and it's documentation");
#endif
#if defined(HAVE_SHELL_ACCESS)
DEFUN (vtysh_telnet,
vtysh_telnet_cmd,