summaryrefslogtreecommitdiff
path: root/templates/clear/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'templates/clear/vpn')
-rw-r--r--templates/clear/vpn/ipsec-peer/node.def1
-rw-r--r--templates/clear/vpn/ipsec-peer/node.tag/node.def6
-rw-r--r--templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.def1
-rw-r--r--templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.tag/node.def10
-rw-r--r--templates/clear/vpn/node.def1
5 files changed, 0 insertions, 19 deletions
diff --git a/templates/clear/vpn/ipsec-peer/node.def b/templates/clear/vpn/ipsec-peer/node.def
deleted file mode 100644
index 48cdff9..0000000
--- a/templates/clear/vpn/ipsec-peer/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear all tunnels for given peer
diff --git a/templates/clear/vpn/ipsec-peer/node.tag/node.def b/templates/clear/vpn/ipsec-peer/node.tag/node.def
deleted file mode 100644
index 0e29756..0000000
--- a/templates/clear/vpn/ipsec-peer/node.tag/node.def
+++ /dev/null
@@ -1,6 +0,0 @@
-help: Clear all tunnels for given peer
-
-allowed: /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=get-all-peers
-
-run: /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl \
- --op=clear-tunnels-for-peer --peer="$4"
diff --git a/templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.def b/templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.def
deleted file mode 100644
index 2add8cd..0000000
--- a/templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear a specific tunnel for given peer
diff --git a/templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.tag/node.def b/templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.tag/node.def
deleted file mode 100644
index 91b4ff3..0000000
--- a/templates/clear/vpn/ipsec-peer/node.tag/tunnel/node.tag/node.def
+++ /dev/null
@@ -1,10 +0,0 @@
-help: Clear a specific tunnel for given peer
-
-allowed: /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl \
- --op=get-tunnels-for-peer \
- --peer="${COMP_WORDS[COMP_CWORD-2]}"
-
-run: /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl \
- --op=clear-specific-tunnel-for-peer \
- --peer="$4" \
- --tunnel="$6"
diff --git a/templates/clear/vpn/node.def b/templates/clear/vpn/node.def
deleted file mode 100644
index 74e9c37..0000000
--- a/templates/clear/vpn/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear Virtual Private Network (VPN) information