From f0e5bb5e5341fd5128069639433960c39a9489cf Mon Sep 17 00:00:00 2001 From: Saurabh Mohan Date: Tue, 22 Jan 2013 12:28:06 -0800 Subject: Dmvpn merge with mirantis jan22-2013 --- templates/show/vpn/ipsec/sa/node.def | 1 + templates/show/vpn/ipsec/sa/profile/node.def | 1 + templates/show/vpn/ipsec/sa/profile/node.tag/node.def | 3 +++ templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.def | 1 + templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def | 3 +++ 5 files changed, 9 insertions(+) create mode 100644 templates/show/vpn/ipsec/sa/profile/node.def create mode 100644 templates/show/vpn/ipsec/sa/profile/node.tag/node.def create mode 100644 templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.def create mode 100644 templates/show/vpn/ipsec/sa/profile/node.tag/tunnel/node.tag/node.def (limited to 'templates/show/vpn') 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 -- cgit v1.2.3