summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ike
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-01-28 13:58:51 -0600
committerJohn Southworth <john.southworth@vyatta.com>2011-01-28 13:58:51 -0600
commit38df35cbe4d7f15447063d8496cdd13970cae16d (patch)
tree72a86dcdca14cdbe5569a102ead3f58ad8dfc4e0 /templates/show/vpn/ike
parent5d0471f35acddd076a6b04a472706bb8f4325589 (diff)
downloadvyatta-op-vpn-38df35cbe4d7f15447063d8496cdd13970cae16d.tar.gz
vyatta-op-vpn-38df35cbe4d7f15447063d8496cdd13970cae16d.zip
Work on new IPsec operational mode script. Integrated with the vyatta-cli
Diffstat (limited to 'templates/show/vpn/ike')
-rw-r--r--templates/show/vpn/ike/sa/nat-traversal/node.def2
-rw-r--r--templates/show/vpn/ike/sa/node.def2
-rw-r--r--templates/show/vpn/ike/sa/peer/node.tag/node.def4
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/show/vpn/ike/sa/nat-traversal/node.def b/templates/show/vpn/ike/sa/nat-traversal/node.def
index 51ba049..3855c49 100644
--- a/templates/show/vpn/ike/sa/nat-traversal/node.def
+++ b/templates/show/vpn/ike/sa/nat-traversal/node.def
@@ -1,2 +1,2 @@
help: Show all currently active IKE Security Associations (SA) that are using NAT Traversal
-run: sudo /opt/vyatta/bin/sudo-users/command_proc_show_vpn show_vpn_ike_sa.xsl --pname nat --pval enabled
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --show-ike-sa-natt
diff --git a/templates/show/vpn/ike/sa/node.def b/templates/show/vpn/ike/sa/node.def
index 66a68bf..051d657 100644
--- a/templates/show/vpn/ike/sa/node.def
+++ b/templates/show/vpn/ike/sa/node.def
@@ -1,2 +1,2 @@
help: Show all currently active IKE Security Associations (SA)
-run: sudo /opt/vyatta/bin/sudo-users/command_proc_show_vpn show_vpn_ike_sa.xsl
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --show-ike-sa
diff --git a/templates/show/vpn/ike/sa/peer/node.tag/node.def b/templates/show/vpn/ike/sa/peer/node.tag/node.def
index 358d898..a84cc0e 100644
--- a/templates/show/vpn/ike/sa/peer/node.tag/node.def
+++ b/templates/show/vpn/ike/sa/peer/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show all currently active IKE Security Associations (SA) for a specific peer
-allowed: /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=get-all-peers
-run: sudo /opt/vyatta/bin/sudo-users/command_proc_show_vpn show_vpn_ike_sa.xsl --pname peer --pval "$6"
+allowed: /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --get-peers-for-cli
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --show-ike-sa-peer="$6"