summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-02-24 13:43:36 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-02-24 14:01:02 +0200
commitf4ecfaf1cd1ad7b7ea9692df5162c998add1e0c1 (patch)
treee9b704e0346b97c17d50baf1e944c1a88d94a859 /op-mode-definitions/vpn-ipsec.xml.in
parent75c741d5d4fcd9fd07077601106532c41ad9b118 (diff)
downloadvyos-1x-f4ecfaf1cd1ad7b7ea9692df5162c998add1e0c1.tar.gz
vyos-1x-f4ecfaf1cd1ad7b7ea9692df5162c998add1e0c1.zip
ipsec: T4985: Changed 'reset vpn ipsec-peer' to use vici library
1. Changed reset IPSEC, IKE SAs to use vici library. 2. Created package vyos.ipsec to communicate with vici library.
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index eca9f6fd9..ee006a2d5 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -18,6 +18,9 @@
<tagNode name="tunnel">
<properties>
<help>Reset a specific tunnel for given peer</help>
+ <completionHelp>
+ <path>vpn ipsec site-to-site peer ${COMP_WORDS[3]} tunnel</path>
+ </completionHelp>
</properties>
<command>sudo ${vyos_op_scripts_dir}/ipsec.py reset_peer --peer="$4" --tunnel="$6"</command>
</tagNode>