summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/class/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/filter/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/node.def2
-rw-r--r--templates/show/queueing/pppoe/node.def2
-rw-r--r--templates/show/queueing/pppoe/node.tag/node.def3
-rw-r--r--templates/show/queueing/pppoe/node.tag/vif/node.def4
-rw-r--r--templates/show/queueing/pppoe/node.tag/vif/node.tag/node.def5
7 files changed, 20 insertions, 0 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/class/node.def b/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/class/node.def
new file mode 100644
index 0000000..4b6b736
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/class/node.def
@@ -0,0 +1,2 @@
+help: Show queue classes for a pppoe device
+run: ${vyatta_bindir}/vyatta-show-queue ppp$6 class
diff --git a/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/filter/node.def b/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/filter/node.def
new file mode 100644
index 0000000..fbea21c
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/filter/node.def
@@ -0,0 +1,2 @@
+help: Show queue filters for a pppoe device
+run: ${vyatta_bindir}/vyatta-show-queue ppp$6 filter
diff --git a/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/node.def b/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/node.def
new file mode 100644
index 0000000..3bf408a
--- /dev/null
+++ b/templates/show/interfaces/ethernet/node.tag/pppoe/node.tag/queue/node.def
@@ -0,0 +1,2 @@
+help: Show pppoe queue information
+run: ${vyatta_bindir}/vyatta-show-queue ppp$6
diff --git a/templates/show/queueing/pppoe/node.def b/templates/show/queueing/pppoe/node.def
new file mode 100644
index 0000000..204485d
--- /dev/null
+++ b/templates/show/queueing/pppoe/node.def
@@ -0,0 +1,2 @@
+help: Show pppoe interface queueing information
+run: ${vyatta_sbindir}/vyatta-show-queueing.pl --type=pppoe
diff --git a/templates/show/queueing/pppoe/node.tag/node.def b/templates/show/queueing/pppoe/node.tag/node.def
new file mode 100644
index 0000000..b74c867
--- /dev/null
+++ b/templates/show/queueing/pppoe/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Show specified pppoe interface information
+allowed: ${vyatta_bindir}/vyatta-interfaces.pl --show=pppoe
+run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4"
diff --git a/templates/show/queueing/pppoe/node.tag/vif/node.def b/templates/show/queueing/pppoe/node.tag/vif/node.def
new file mode 100644
index 0000000..2b74427
--- /dev/null
+++ b/templates/show/queueing/pppoe/node.tag/vif/node.def
@@ -0,0 +1,4 @@
+help: Show specified virtual network interface (vif) information
+run: tput setaf ${COLOR_RED:-1} ;
+ echo error: need to supply vif # ;
+ tput op
diff --git a/templates/show/queueing/pppoe/node.tag/vif/node.tag/node.def b/templates/show/queueing/pppoe/node.tag/vif/node.tag/node.def
new file mode 100644
index 0000000..ee1bbb2
--- /dev/null
+++ b/templates/show/queueing/pppoe/node.tag/vif/node.tag/node.def
@@ -0,0 +1,5 @@
+help: Show specified virtual network interface (vif) queueing
+allowed: local -a array ;
+ array=( /sys/class/net/${COMP_WORDS[3]}.* ) ;
+ echo -n ${array[@]##*.}
+run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4.$6"