summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec/sa/statistics/profile
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-09-15 11:40:03 +0200
committerKim Hagen <kim.sidney@gmail.com>2016-09-15 11:40:03 +0200
commit33e24e989996ec809e1be696866258ce987cc527 (patch)
tree80aa6b83551dd536412fc4629d4362072b7f52ba /templates/show/vpn/ipsec/sa/statistics/profile
parent8a80669f305983de512466e3e2bad0924d7f37a0 (diff)
downloadvyatta-op-vpn-33e24e989996ec809e1be696866258ce987cc527.tar.gz
vyatta-op-vpn-33e24e989996ec809e1be696866258ce987cc527.zip
Reimplementation of TriJetScud's commit:578688a25ba784d839512fefafab4cabdaf32fc5.
Simpilfy the operational commands Instead of trying to parse the outout of ipsec or swanctl, just dump whatever swanctl outputs.
Diffstat (limited to 'templates/show/vpn/ipsec/sa/statistics/profile')
-rw-r--r--templates/show/vpn/ipsec/sa/statistics/profile/node.tag/node.def.in3
-rw-r--r--templates/show/vpn/ipsec/sa/statistics/profile/node.tag/tunnel/node.tag/node.def.in3
2 files changed, 0 insertions, 6 deletions
diff --git a/templates/show/vpn/ipsec/sa/statistics/profile/node.tag/node.def.in b/templates/show/vpn/ipsec/sa/statistics/profile/node.tag/node.def.in
deleted file mode 100644
index 1bc76d6..0000000
--- a/templates/show/vpn/ipsec/sa/statistics/profile/node.tag/node.def.in
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Show stats for all active IPsec Security Associations (SA) for a profile
-allowed: @SUDOUSRDIR@/vyatta-op-vpnprof.pl --get-profiles-for-cli
-run: sudo @SUDOUSRDIR@/vyatta-op-vpnprof.pl --show-ipsec-sa-stats-profile="$7"
diff --git a/templates/show/vpn/ipsec/sa/statistics/profile/node.tag/tunnel/node.tag/node.def.in b/templates/show/vpn/ipsec/sa/statistics/profile/node.tag/tunnel/node.tag/node.def.in
deleted file mode 100644
index 9ae35c8..0000000
--- a/templates/show/vpn/ipsec/sa/statistics/profile/node.tag/tunnel/node.tag/node.def.in
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Show stats for the active IPsec Security Association (SA) for a tunnel bound to profile
-allowed: @SUDOUSRDIR@/vyatta-op-vpnprof.pl --get-conn-for-cli=${COMP_WORDS[6]}
-run: sudo @SUDOUSRDIR@/vyatta-op-vpnprof.pl --show-ipsec-sa-stats-conn $7 $9