summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec/sa
diff options
context:
space:
mode:
authorjules-vyos <vyos@ourhouse.org.uk>2017-07-27 15:38:31 +0100
committerjules-vyos <vyos@ourhouse.org.uk>2017-07-27 15:38:31 +0100
commit24c7ff03646d73767df9a0b5e20c483fcf9708a6 (patch)
tree20425b83b0b9e2f07d3ad78b771166f4b21bf1db /templates/show/vpn/ipsec/sa
parent4aba0c7e26b5336122e88ab2bba01c1c6066600e (diff)
downloadvyatta-op-vpn-24c7ff03646d73767df9a0b5e20c483fcf9708a6.tar.gz
vyatta-op-vpn-24c7ff03646d73767df9a0b5e20c483fcf9708a6.zip
Add templates for extended commands
Diffstat (limited to 'templates/show/vpn/ipsec/sa')
-rw-r--r--templates/show/vpn/ipsec/sa/detail/node.def.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/sa/detail/node.def.in b/templates/show/vpn/ipsec/sa/detail/node.def.in
new file mode 100644
index 0000000..3362e9b
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/detail/node.def.in
@@ -0,0 +1,6 @@
+help: Show Detail on all active IPsec Security Associations (SA)
+run: if pgrep charon >&/dev/null; then
+ @SUDOUSRDIR@/vyatta-op-vpn.pl --show-ipsec-sa
+ else
+ echo -e "IPSec Process NOT Running\n"
+ fi