From 739d1c222a3c69d89bf299365c070f5bf7981232 Mon Sep 17 00:00:00 2001
From: jules-vyos <vyos@ourhouse.org.uk>
Date: Thu, 27 Jul 2017 15:40:14 +0100
Subject: Move into the CORRECT tree location.

---
 templates/show/vpn/ipsec/sa/verbose/node.def | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 templates/show/vpn/ipsec/sa/verbose/node.def

(limited to 'templates/show/vpn/ipsec/sa/verbose/node.def')

diff --git a/templates/show/vpn/ipsec/sa/verbose/node.def b/templates/show/vpn/ipsec/sa/verbose/node.def
new file mode 100644
index 0000000..fac77a3
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/verbose/node.def
@@ -0,0 +1,7 @@
+help: Show Verbose Detail on all active IPsec Security Associations (SA)
+run: if pgrep charon >&/dev/null; then
+       /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --show-ipsec-sa-detail
+     else
+        echo -e "IPSec Process NOT Running\n"
+     fi
+
-- 
cgit v1.2.3

