summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorMarat Nepomnyashy <marat@vyatta.com>2008-01-21 15:00:15 -0800
committerMarat Nepomnyashy <marat@vyatta.com>2008-01-21 15:00:15 -0800
commit97181aa77c9a37607947373e3c426d70fcbc8abb (patch)
treea4d954b295e5cf1c1ba4bae59682e9e41ae53414 /templates/show
parent7b759d6645a9c7583e9091f034c5bc2bbbadb369 (diff)
downloadvyatta-op-vpn-97181aa77c9a37607947373e3c426d70fcbc8abb.tar.gz
vyatta-op-vpn-97181aa77c9a37607947373e3c426d70fcbc8abb.zip
Added autocompletion for commans 'show vpn ipsec sa detail connection *'.debian/0.1
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def b/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
index a71464a..0094f92 100644
--- a/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
+++ b/templates/show/vpn/ipsec/sa/detail/connection/node.tag/node.def
@@ -1,2 +1,3 @@
help: Show details of all active IPsec Security Associations (SA) for a specific connection.
run: sudo /opt/vyatta/sbin/command_proc_show_vpn show_vpn_ipsec_sa.xsl --pname detail --pval y --pname conn --pval "$7"
+allowed: ipsec auto --status | grep '000 "peer-' | perl -p -e 's/^000 "([^"]*)":\s.*/\1/' | sort -u