summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec/sa
diff options
context:
space:
mode:
authorSaurabh Mohan <saurabh.mohan@vyatta.com>2013-01-22 12:28:06 -0800
committerSaurabh Mohan <saurabh.mohan@vyatta.com>2013-01-22 12:28:06 -0800
commitf0e5bb5e5341fd5128069639433960c39a9489cf (patch)
treeb57cbdbd13368dceecd17eb3a62731abaac100b6 /templates/show/vpn/ipsec/sa
parent0ec0f14dc864045fa1cc6ec317e3e8b62585072a (diff)
downloadvyatta-op-vpn-f0e5bb5e5341fd5128069639433960c39a9489cf.tar.gz
vyatta-op-vpn-f0e5bb5e5341fd5128069639433960c39a9489cf.zip
Dmvpn merge with mirantis jan22-2013
Diffstat (limited to 'templates/show/vpn/ipsec/sa')
-rw-r--r--templates/show/vpn/ipsec/sa/node.def1
-rw-r--r--templates/show/vpn/ipsec/sa/profile/node.def1
-rw-r--r--templates/show/vpn/ipsec/sa/profile/node.tag/node.def3
-rw-r--r--templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.def1
-rw-r--r--templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def3
5 files changed, 9 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/sa/node.def b/templates/show/vpn/ipsec/sa/node.def
index a3f0f6b..287d489 100644
--- a/templates/show/vpn/ipsec/sa/node.def
+++ b/templates/show/vpn/ipsec/sa/node.def
@@ -1,2 +1,3 @@
help: Show all active IPsec Security Associations (SA)
run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --show-ipsec-sa
+ sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpnprof.pl --show-ipsec-sa
diff --git a/templates/show/vpn/ipsec/sa/profile/node.def b/templates/show/vpn/ipsec/sa/profile/node.def
new file mode 100644
index 0000000..a0d7b44
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/profile/node.def
@@ -0,0 +1 @@
+help: Show all active IPsec Security Associations (SA) for a profile
diff --git a/templates/show/vpn/ipsec/sa/profile/node.tag/node.def b/templates/show/vpn/ipsec/sa/profile/node.tag/node.def
new file mode 100644
index 0000000..76e66a5
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/profile/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show all active IPsec Security Associations (SA) for a profile
+allowed: /opt/vyatta/bin/sudo-users/vyatta-op-vpnprof.pl --get-profiles-for-cli
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpnprof.pl --show-ipsec-sa-profile="$6"
diff --git a/templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.def b/templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.def
new file mode 100644
index 0000000..ca0ec72
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.def
@@ -0,0 +1 @@
+help: Show the active IPsec Security Association (SA) for a profiles's tunnel
diff --git a/templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def b/templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def
new file mode 100644
index 0000000..3f0af98
--- /dev/null
+++ b/templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show the active IPsec Security Association (SA) for a profile's tunnel
+allowed: /opt/vyatta/bin/sudo-users/vyatta-op-vpnprof.pl --get-conn-for-cli=${COMP_WORDS[5]}
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpnprof.pl --show-ipsec-sa-conn $6 $8