summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-11-20 22:03:52 +0000
committerGitHub <noreply@github.com>2022-11-20 22:03:52 +0000
commit2e011313a9b5fc1a263e11149f5dd4c904ee42df (patch)
tree6f4a1c39df5df283275fbce6c08bc540dc32b3e6 /op-mode-definitions/vpn-ipsec.xml.in
parentda5bff2e835a14997d7b176670376cbd8d1221ef (diff)
parent2c4b6b74317240eedbbae9d2816f86eda464ae68 (diff)
downloadvyos-1x-2e011313a9b5fc1a263e11149f5dd4c904ee42df.tar.gz
vyos-1x-2e011313a9b5fc1a263e11149f5dd4c904ee42df.zip
Merge pull request #1657 from sever-sever/T4812
T4812: Add op-mode Show vpn ipsec connections
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index f1af65fcb..803ce4cc2 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -137,6 +137,12 @@
<help>Show Internet Protocol Security (IPsec) information</help>
</properties>
<children>
+ <node name="connections">
+ <properties>
+ <help>Show VPN connections</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/ipsec.py show_connections</command>
+ </node>
<node name="policy">
<properties>
<help>Show the in-kernel crypto policies</help>