summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-21 20:05:35 +0100
committerGitHub <noreply@github.com>2022-11-21 20:05:35 +0100
commit37b77d457401d5f32a66b405c188514b9a143098 (patch)
treea1ca7112127e42b113582c8d95ae88a1e36e4d22
parenta5ddba8e8b286e49b83669e5bf2ba0928f50f351 (diff)
parent1e8ebed152f75becae61b7ab2be4e527f409740a (diff)
downloadvyatta-op-vpn-37b77d457401d5f32a66b405c188514b9a143098.tar.gz
vyatta-op-vpn-37b77d457401d5f32a66b405c188514b9a143098.zip
Merge pull request #34 from sever-sever/T4812-eq-op1.3.3-epa11.3.3
T4812: Add op-mode show vpn ipsec connections
-rw-r--r--templates/show/vpn/ipsec/connections/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/connections/node.def b/templates/show/vpn/ipsec/connections/node.def
new file mode 100644
index 0000000..f56ac60
--- /dev/null
+++ b/templates/show/vpn/ipsec/connections/node.def
@@ -0,0 +1,6 @@
+help: Show VPN connections
+run: if pgrep charon >&/dev/null; then
+ sudo ${vyos_op_scripts_dir}/show_ipsec_connections.py
+ else
+ echo -e "IPSec Process NOT Running\n"
+ fi