From 5d43f116b1c0427d8769773e1f4aa8acc920f7e1 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 14 Nov 2008 18:18:19 -0800 Subject: Fix vif in show queueing At wrong level in hierarchy Bugfix 3925 --- templates/show/queueing/ethernet/node.tag/vif/node.def | 4 ++++ templates/show/queueing/ethernet/node.tag/vif/node.tag/node.def | 5 +++++ templates/show/queueing/ethernet/vif/node.def | 4 ---- templates/show/queueing/ethernet/vif/node.tag/node.def | 5 ----- 4 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 templates/show/queueing/ethernet/node.tag/vif/node.def create mode 100644 templates/show/queueing/ethernet/node.tag/vif/node.tag/node.def delete mode 100644 templates/show/queueing/ethernet/vif/node.def delete mode 100644 templates/show/queueing/ethernet/vif/node.tag/node.def (limited to 'templates') diff --git a/templates/show/queueing/ethernet/node.tag/vif/node.def b/templates/show/queueing/ethernet/node.tag/vif/node.def new file mode 100644 index 0000000..2b74427 --- /dev/null +++ b/templates/show/queueing/ethernet/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/ethernet/node.tag/vif/node.tag/node.def b/templates/show/queueing/ethernet/node.tag/vif/node.tag/node.def new file mode 100644 index 0000000..ee1bbb2 --- /dev/null +++ b/templates/show/queueing/ethernet/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" diff --git a/templates/show/queueing/ethernet/vif/node.def b/templates/show/queueing/ethernet/vif/node.def deleted file mode 100644 index 2b74427..0000000 --- a/templates/show/queueing/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/queueing/ethernet/vif/node.tag/node.def b/templates/show/queueing/ethernet/vif/node.tag/node.def deleted file mode 100644 index ee1bbb2..0000000 --- a/templates/show/queueing/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" -- cgit v1.2.3