From 28ebda1c7577e2ef02ddc05a993c08997f3bd371 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 29 Aug 2008 15:36:22 -0700 Subject: Rename queuing to queueing Both spellings are valid but 'queueing' is the more common spelling in networking (and IOS). --- templates/show/queueing/adsl/node.def | 2 ++ templates/show/queueing/adsl/node.tag/node.def | 6 ++++++ templates/show/queueing/ethernet/node.def | 2 ++ templates/show/queueing/ethernet/node.tag/node.def | 9 +++++++++ templates/show/queueing/ethernet/vif/node.def | 4 ++++ templates/show/queueing/ethernet/vif/node.tag/node.def | 5 +++++ templates/show/queueing/node.def | 2 ++ templates/show/queueing/serial/node.def | 2 ++ templates/show/queueing/serial/node.tag/node.def | 6 ++++++ templates/show/queuing/adsl/node.def | 2 -- templates/show/queuing/adsl/node.tag/node.def | 6 ------ templates/show/queuing/ethernet/node.def | 2 -- templates/show/queuing/ethernet/node.tag/node.def | 9 --------- templates/show/queuing/ethernet/vif/node.def | 4 ---- templates/show/queuing/ethernet/vif/node.tag/node.def | 5 ----- templates/show/queuing/node.def | 2 -- templates/show/queuing/serial/node.def | 2 -- templates/show/queuing/serial/node.tag/node.def | 6 ------ 18 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 templates/show/queueing/adsl/node.def create mode 100644 templates/show/queueing/adsl/node.tag/node.def create mode 100644 templates/show/queueing/ethernet/node.def create mode 100644 templates/show/queueing/ethernet/node.tag/node.def create mode 100644 templates/show/queueing/ethernet/vif/node.def create mode 100644 templates/show/queueing/ethernet/vif/node.tag/node.def create mode 100644 templates/show/queueing/node.def create mode 100644 templates/show/queueing/serial/node.def create mode 100644 templates/show/queueing/serial/node.tag/node.def delete mode 100644 templates/show/queuing/adsl/node.def delete mode 100644 templates/show/queuing/adsl/node.tag/node.def delete mode 100644 templates/show/queuing/ethernet/node.def delete mode 100644 templates/show/queuing/ethernet/node.tag/node.def delete mode 100644 templates/show/queuing/ethernet/vif/node.def delete mode 100644 templates/show/queuing/ethernet/vif/node.tag/node.def delete mode 100644 templates/show/queuing/node.def delete mode 100644 templates/show/queuing/serial/node.def delete mode 100644 templates/show/queuing/serial/node.tag/node.def diff --git a/templates/show/queueing/adsl/node.def b/templates/show/queueing/adsl/node.def new file mode 100644 index 0000000..46321a9 --- /dev/null +++ b/templates/show/queueing/adsl/node.def @@ -0,0 +1,2 @@ +help: Show adsl queueing information +run: ${vyatta_bindir}/vyatta-show-queueing.pl --type=adsl diff --git a/templates/show/queueing/adsl/node.tag/node.def b/templates/show/queueing/adsl/node.tag/node.def new file mode 100644 index 0000000..9253a98 --- /dev/null +++ b/templates/show/queueing/adsl/node.tag/node.def @@ -0,0 +1,6 @@ +help: Show specified adsl interface information +allowed: + local -a array ; + array=( /sys/class/net/adsl* ) ; + echo -n ${array[@]##*/} +run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" diff --git a/templates/show/queueing/ethernet/node.def b/templates/show/queueing/ethernet/node.def new file mode 100644 index 0000000..fee7370 --- /dev/null +++ b/templates/show/queueing/ethernet/node.def @@ -0,0 +1,2 @@ +help: Show ethernet queueing information +run: ${vyatta_bindir}/vyatta-show-queueing.pl --type=ethernet diff --git a/templates/show/queueing/ethernet/node.tag/node.def b/templates/show/queueing/ethernet/node.tag/node.def new file mode 100644 index 0000000..3643a94 --- /dev/null +++ b/templates/show/queueing/ethernet/node.tag/node.def @@ -0,0 +1,9 @@ +help: Show specified ethernet interface information +allowed: for dev in /sys/class/net/*; + do if [[ -L $dev/device ]] + then if [[ $(cat $dev/type) -eq 1 ]] + then echo -n ${dev##*/} " " + fi + fi + done +run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" diff --git a/templates/show/queueing/ethernet/vif/node.def b/templates/show/queueing/ethernet/vif/node.def new file mode 100644 index 0000000..2b74427 --- /dev/null +++ b/templates/show/queueing/ethernet/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/ethernet/vif/node.tag/node.def b/templates/show/queueing/ethernet/vif/node.tag/node.def new file mode 100644 index 0000000..ee1bbb2 --- /dev/null +++ b/templates/show/queueing/ethernet/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" diff --git a/templates/show/queueing/node.def b/templates/show/queueing/node.def new file mode 100644 index 0000000..c9a9fdf --- /dev/null +++ b/templates/show/queueing/node.def @@ -0,0 +1,2 @@ +help: Show ethernet queueing information +run: ${vyatta_bindir}/vyatta-show-queueing.pl --brief diff --git a/templates/show/queueing/serial/node.def b/templates/show/queueing/serial/node.def new file mode 100644 index 0000000..754834d --- /dev/null +++ b/templates/show/queueing/serial/node.def @@ -0,0 +1,2 @@ +help: Show serial queueing information +run: ${vyatta_bindir}/vyatta-show-queueing.pl --type=serial diff --git a/templates/show/queueing/serial/node.tag/node.def b/templates/show/queueing/serial/node.tag/node.def new file mode 100644 index 0000000..089891d --- /dev/null +++ b/templates/show/queueing/serial/node.tag/node.def @@ -0,0 +1,6 @@ +help: Show specified adsl interface information +allowed: + local -a array ; + array=( /sys/class/net/wan* ) ; + echo -n ${array[@]##*/} +run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" diff --git a/templates/show/queuing/adsl/node.def b/templates/show/queuing/adsl/node.def deleted file mode 100644 index 46321a9..0000000 --- a/templates/show/queuing/adsl/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Show adsl queueing information -run: ${vyatta_bindir}/vyatta-show-queueing.pl --type=adsl diff --git a/templates/show/queuing/adsl/node.tag/node.def b/templates/show/queuing/adsl/node.tag/node.def deleted file mode 100644 index 9253a98..0000000 --- a/templates/show/queuing/adsl/node.tag/node.def +++ /dev/null @@ -1,6 +0,0 @@ -help: Show specified adsl interface information -allowed: - local -a array ; - array=( /sys/class/net/adsl* ) ; - echo -n ${array[@]##*/} -run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" diff --git a/templates/show/queuing/ethernet/node.def b/templates/show/queuing/ethernet/node.def deleted file mode 100644 index fee7370..0000000 --- a/templates/show/queuing/ethernet/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Show ethernet queueing information -run: ${vyatta_bindir}/vyatta-show-queueing.pl --type=ethernet diff --git a/templates/show/queuing/ethernet/node.tag/node.def b/templates/show/queuing/ethernet/node.tag/node.def deleted file mode 100644 index 3643a94..0000000 --- a/templates/show/queuing/ethernet/node.tag/node.def +++ /dev/null @@ -1,9 +0,0 @@ -help: Show specified ethernet interface information -allowed: for dev in /sys/class/net/*; - do if [[ -L $dev/device ]] - then if [[ $(cat $dev/type) -eq 1 ]] - then echo -n ${dev##*/} " " - fi - fi - done -run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" diff --git a/templates/show/queuing/ethernet/vif/node.def b/templates/show/queuing/ethernet/vif/node.def deleted file mode 100644 index 2b74427..0000000 --- a/templates/show/queuing/ethernet/vif/node.def +++ /dev/null @@ -1,4 +0,0 @@ -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/queuing/ethernet/vif/node.tag/node.def b/templates/show/queuing/ethernet/vif/node.tag/node.def deleted file mode 100644 index ee1bbb2..0000000 --- a/templates/show/queuing/ethernet/vif/node.tag/node.def +++ /dev/null @@ -1,5 +0,0 @@ -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" diff --git a/templates/show/queuing/node.def b/templates/show/queuing/node.def deleted file mode 100644 index c9a9fdf..0000000 --- a/templates/show/queuing/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Show ethernet queueing information -run: ${vyatta_bindir}/vyatta-show-queueing.pl --brief diff --git a/templates/show/queuing/serial/node.def b/templates/show/queuing/serial/node.def deleted file mode 100644 index 754834d..0000000 --- a/templates/show/queuing/serial/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Show serial queueing information -run: ${vyatta_bindir}/vyatta-show-queueing.pl --type=serial diff --git a/templates/show/queuing/serial/node.tag/node.def b/templates/show/queuing/serial/node.tag/node.def deleted file mode 100644 index 089891d..0000000 --- a/templates/show/queuing/serial/node.tag/node.def +++ /dev/null @@ -1,6 +0,0 @@ -help: Show specified adsl interface information -allowed: - local -a array ; - array=( /sys/class/net/wan* ) ; - echo -n ${array[@]##*/} -run: ${vyatta_bindir}/vyatta-show-queueing.pl "$4" -- cgit v1.2.3