summaryrefslogtreecommitdiff
path: root/nhrpd
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2024-09-05 18:37:27 +0300
committeraapostoliuk <a.apostoliuk@vyos.io>2024-09-10 14:37:24 +0300
commitbe218183134b984c5e087de327a4c6a08756d9d0 (patch)
treef20963dd0779ff91a7f72168a1dc1563ec4e8837 /nhrpd
parent4f185c5c9d0efe8d046aa361868e1e97108de192 (diff)
nhrpd: Added a command "no tunnel protection vici profile PROFILE"
For compatibility with frr-reload, a command "no tunnel protection [vici profile PROFILE [fallback-profile FALLBACK]]" was added. Signed-off-by: aapostoliuk <a.apostoliuk@vyos.io>
Diffstat (limited to 'nhrpd')
-rw-r--r--nhrpd/nhrp_vty.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/nhrpd/nhrp_vty.c b/nhrpd/nhrp_vty.c
index 96ba4728bf..f202576960 100644
--- a/nhrpd/nhrp_vty.c
+++ b/nhrpd/nhrp_vty.c
@@ -295,10 +295,15 @@ DEFUN(tunnel_protection, tunnel_protection_cmd,
}
DEFUN(no_tunnel_protection, no_tunnel_protection_cmd,
- "no tunnel protection",
+ "no tunnel protection [vici profile PROFILE [fallback-profile FALLBACK]]",
NO_STR
"NHRP/GRE integration\n"
- "IPsec protection\n")
+ "IPsec protection\n"
+ "VICI (StrongSwan)\n"
+ "IPsec profile\n"
+ "IPsec profile name\n"
+ "Fallback IPsec profile\n"
+ "Fallback IPsec profile name\n")
{
VTY_DECLVAR_CONTEXT(interface, ifp);