summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-24 15:32:52 +0100
committerGitHub <noreply@github.com>2023-02-24 15:32:52 +0100
commiteaea1789f88082dae5b6cd12cc98bfc48221f35d (patch)
tree9d7a24a1fd8239f42af7d17cecaa33866fe2ac79 /op-mode-definitions
parentb652a66119c73042f5e141e6733605edb66b5eea (diff)
parentf4ecfaf1cd1ad7b7ea9692df5162c998add1e0c1 (diff)
downloadvyos-1x-eaea1789f88082dae5b6cd12cc98bfc48221f35d.tar.gz
vyos-1x-eaea1789f88082dae5b6cd12cc98bfc48221f35d.zip
Merge pull request #1847 from aapostoliuk/T4985-2-sagitta
ipsec: T4985: Changed 'reset vpn ipsec-peer' to use vici library
Diffstat (limited to 'op-mode-definitions')
-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>