summaryrefslogtreecommitdiff
path: root/templates/clear
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-03-28 14:02:26 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-03-28 14:02:26 -0500
commit661a01b4eabb27e2e1894ab0353a404a3cf27e86 (patch)
treeda84b6040c866b2a30df2adbd0f11d0439ddb5f8 /templates/clear
parent2b4425bd463c205d214930a1c4edffc073693fe8 (diff)
downloadvyatta-op-661a01b4eabb27e2e1894ab0353a404a3cf27e86.tar.gz
vyatta-op-661a01b4eabb27e2e1894ab0353a404a3cf27e86.zip
interfaces: T4885: remove templates now handled by vyos-1x
Diffstat (limited to 'templates/clear')
-rw-r--r--templates/clear/interfaces/bonding/counters/node.def2
-rw-r--r--templates/clear/interfaces/bonding/node.def1
-rw-r--r--templates/clear/interfaces/bonding/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/bonding/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/bridge/counters/node.def2
-rw-r--r--templates/clear/interfaces/bridge/node.def1
-rw-r--r--templates/clear/interfaces/bridge/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/bridge/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/counters/node.def2
-rw-r--r--templates/clear/interfaces/dummy/counters/node.def2
-rw-r--r--templates/clear/interfaces/dummy/node.def1
-rw-r--r--templates/clear/interfaces/dummy/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/dummy/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/ethernet/counters/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/node.def1
-rw-r--r--templates/clear/interfaces/ethernet/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/l2tpv3/counters/node.def2
-rw-r--r--templates/clear/interfaces/l2tpv3/node.def1
-rw-r--r--templates/clear/interfaces/l2tpv3/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/l2tpv3/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/loopback/counters/node.def2
-rw-r--r--templates/clear/interfaces/loopback/node.def1
-rw-r--r--templates/clear/interfaces/loopback/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/loopback/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/pseudo-ethernet/counters/node.def2
-rw-r--r--templates/clear/interfaces/pseudo-ethernet/node.def1
-rw-r--r--templates/clear/interfaces/pseudo-ethernet/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/pseudo-ethernet/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/tunnel/counters/node.def2
-rw-r--r--templates/clear/interfaces/tunnel/node.def1
-rw-r--r--templates/clear/interfaces/tunnel/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/tunnel/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/vti/counters/node.def2
-rw-r--r--templates/clear/interfaces/vti/node.def1
-rw-r--r--templates/clear/interfaces/vti/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/vti/node.tag/node.def4
37 files changed, 0 insertions, 83 deletions
diff --git a/templates/clear/interfaces/bonding/counters/node.def b/templates/clear/interfaces/bonding/counters/node.def
deleted file mode 100644
index e695e35..0000000
--- a/templates/clear/interfaces/bonding/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all bonding interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/bonding/node.def b/templates/clear/interfaces/bonding/node.def
deleted file mode 100644
index b1d1e03..0000000
--- a/templates/clear/interfaces/bonding/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear bonding interface information
diff --git a/templates/clear/interfaces/bonding/node.tag/counters/node.def b/templates/clear/interfaces/bonding/node.tag/counters/node.def
deleted file mode 100644
index 1818957..0000000
--- a/templates/clear/interfaces/bonding/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given bonding interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/bonding/node.tag/node.def b/templates/clear/interfaces/bonding/node.tag/node.def
deleted file mode 100644
index 3573587..0000000
--- a/templates/clear/interfaces/bonding/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given bonding interface
-allowed: local -a array ;
- array=( /sys/class/net/bond* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/bridge/counters/node.def b/templates/clear/interfaces/bridge/counters/node.def
deleted file mode 100644
index 226394d..0000000
--- a/templates/clear/interfaces/bridge/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all bridge interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/bridge/node.def b/templates/clear/interfaces/bridge/node.def
deleted file mode 100644
index a89b724..0000000
--- a/templates/clear/interfaces/bridge/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear bridge interface information
diff --git a/templates/clear/interfaces/bridge/node.tag/counters/node.def b/templates/clear/interfaces/bridge/node.tag/counters/node.def
deleted file mode 100644
index 8b2c6b3..0000000
--- a/templates/clear/interfaces/bridge/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given bridge interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/bridge/node.tag/node.def b/templates/clear/interfaces/bridge/node.tag/node.def
deleted file mode 100644
index e73a82d..0000000
--- a/templates/clear/interfaces/bridge/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given bridge interface
-allowed: local -a array ;
- array=( /sys/class/net/br* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/counters/node.def b/templates/clear/interfaces/counters/node.def
deleted file mode 100644
index a29bcbc..0000000
--- a/templates/clear/interfaces/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for all interfaces
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear
diff --git a/templates/clear/interfaces/dummy/counters/node.def b/templates/clear/interfaces/dummy/counters/node.def
deleted file mode 100644
index 08781a6..0000000
--- a/templates/clear/interfaces/dummy/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all dummy interfaces counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/dummy/node.def b/templates/clear/interfaces/dummy/node.def
deleted file mode 100644
index cc3905d..0000000
--- a/templates/clear/interfaces/dummy/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear dummy interface information
diff --git a/templates/clear/interfaces/dummy/node.tag/counters/node.def b/templates/clear/interfaces/dummy/node.tag/counters/node.def
deleted file mode 100644
index c75d5fc..0000000
--- a/templates/clear/interfaces/dummy/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given dummy interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/dummy/node.tag/node.def b/templates/clear/interfaces/dummy/node.tag/node.def
deleted file mode 100644
index 9a7f3d6..0000000
--- a/templates/clear/interfaces/dummy/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given dummy interface
-allowed: local -a array ;
- array=( /sys/class/net/dum* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/ethernet/counters/node.def b/templates/clear/interfaces/ethernet/counters/node.def
deleted file mode 100644
index d722d69..0000000
--- a/templates/clear/interfaces/ethernet/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all ethernet interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/ethernet/node.def b/templates/clear/interfaces/ethernet/node.def
deleted file mode 100644
index eda1665..0000000
--- a/templates/clear/interfaces/ethernet/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear ethernet interface information
diff --git a/templates/clear/interfaces/ethernet/node.tag/counters/node.def b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
deleted file mode 100644
index 467a084..0000000
--- a/templates/clear/interfaces/ethernet/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given ethernet interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/ethernet/node.tag/node.def b/templates/clear/interfaces/ethernet/node.tag/node.def
deleted file mode 100644
index ca48b57..0000000
--- a/templates/clear/interfaces/ethernet/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given ethernet interface
-allowed: local -a array ;
- array=( /sys/class/net/eth* /sys/class/net/en* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/l2tpv3/counters/node.def b/templates/clear/interfaces/l2tpv3/counters/node.def
deleted file mode 100644
index 3ac1954..0000000
--- a/templates/clear/interfaces/l2tpv3/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all L2TPv3 interfaces counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/l2tpv3/node.def b/templates/clear/interfaces/l2tpv3/node.def
deleted file mode 100644
index 1380442..0000000
--- a/templates/clear/interfaces/l2tpv3/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear L2TPv3 interface information
diff --git a/templates/clear/interfaces/l2tpv3/node.tag/counters/node.def b/templates/clear/interfaces/l2tpv3/node.tag/counters/node.def
deleted file mode 100644
index f8bea81..0000000
--- a/templates/clear/interfaces/l2tpv3/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given L2TPv3 interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/l2tpv3/node.tag/node.def b/templates/clear/interfaces/l2tpv3/node.tag/node.def
deleted file mode 100644
index 2254446..0000000
--- a/templates/clear/interfaces/l2tpv3/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given L2TPv3 interface
-allowed: local -a array ;
- array=( /sys/class/net/l2tpeth* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/loopback/counters/node.def b/templates/clear/interfaces/loopback/counters/node.def
deleted file mode 100644
index eefdac4..0000000
--- a/templates/clear/interfaces/loopback/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all loopback interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/loopback/node.def b/templates/clear/interfaces/loopback/node.def
deleted file mode 100644
index eb3221f..0000000
--- a/templates/clear/interfaces/loopback/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear loopback interface information
diff --git a/templates/clear/interfaces/loopback/node.tag/counters/node.def b/templates/clear/interfaces/loopback/node.tag/counters/node.def
deleted file mode 100644
index 34c895c..0000000
--- a/templates/clear/interfaces/loopback/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given loopback interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/loopback/node.tag/node.def b/templates/clear/interfaces/loopback/node.tag/node.def
deleted file mode 100644
index 6059e8c..0000000
--- a/templates/clear/interfaces/loopback/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface counters for a given loopback interface
-allowed: local -a array ;
- array=( /sys/class/net/lo* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/pseudo-ethernet/counters/node.def b/templates/clear/interfaces/pseudo-ethernet/counters/node.def
deleted file mode 100644
index 33d0165..0000000
--- a/templates/clear/interfaces/pseudo-ethernet/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all pseudo-ethernet interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/pseudo-ethernet/node.def b/templates/clear/interfaces/pseudo-ethernet/node.def
deleted file mode 100644
index b70f282..0000000
--- a/templates/clear/interfaces/pseudo-ethernet/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear pseudo-ethernet interface information
diff --git a/templates/clear/interfaces/pseudo-ethernet/node.tag/counters/node.def b/templates/clear/interfaces/pseudo-ethernet/node.tag/counters/node.def
deleted file mode 100644
index 8585a09..0000000
--- a/templates/clear/interfaces/pseudo-ethernet/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given pseudo-ethernet interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/pseudo-ethernet/node.tag/node.def b/templates/clear/interfaces/pseudo-ethernet/node.tag/node.def
deleted file mode 100644
index 25915b4..0000000
--- a/templates/clear/interfaces/pseudo-ethernet/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given pseudo-ethernet interface
-allowed: local -a array ;
- array=( /sys/class/net/peth* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/tunnel/counters/node.def b/templates/clear/interfaces/tunnel/counters/node.def
deleted file mode 100644
index 7ef46d2..0000000
--- a/templates/clear/interfaces/tunnel/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all tunnel interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/tunnel/node.def b/templates/clear/interfaces/tunnel/node.def
deleted file mode 100644
index c704813..0000000
--- a/templates/clear/interfaces/tunnel/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear tunnel interface information
diff --git a/templates/clear/interfaces/tunnel/node.tag/counters/node.def b/templates/clear/interfaces/tunnel/node.tag/counters/node.def
deleted file mode 100644
index 3b00df5..0000000
--- a/templates/clear/interfaces/tunnel/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given tunnel interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/tunnel/node.tag/node.def b/templates/clear/interfaces/tunnel/node.tag/node.def
deleted file mode 100644
index 3452c92..0000000
--- a/templates/clear/interfaces/tunnel/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given tunnel interface
-allowed: local -a array ;
- array=( /sys/class/net/tun* ) ;
- echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/vti/counters/node.def b/templates/clear/interfaces/vti/counters/node.def
deleted file mode 100644
index 8b81d1f..0000000
--- a/templates/clear/interfaces/vti/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear all vti interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/vti/node.def b/templates/clear/interfaces/vti/node.def
deleted file mode 100644
index 1448e18..0000000
--- a/templates/clear/interfaces/vti/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Clear vti interface information
diff --git a/templates/clear/interfaces/vti/node.tag/counters/node.def b/templates/clear/interfaces/vti/node.tag/counters/node.def
deleted file mode 100644
index 8832a04..0000000
--- a/templates/clear/interfaces/vti/node.tag/counters/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Clear interface counters for a given vti interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/vti/node.tag/node.def b/templates/clear/interfaces/vti/node.tag/node.def
deleted file mode 100644
index b7cfb64..0000000
--- a/templates/clear/interfaces/vti/node.tag/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Clear interface information for a given vti interface
-allowed: local -a array ;
- array=( /sys/class/net/vti* ) ;
- echo -n ${array[@]##*/}