diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-08 15:04:40 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-08 15:04:40 -0800 |
commit | 779df7e2f84b2750f33c073b2f310398d9f8a0fa (patch) | |
tree | 5978292710565815ff0e8308947732f61cc71650 /templates/show/interfaces/bridge | |
parent | 4647ef1a3a84880cc7a52d2bf74163d7e470b150 (diff) | |
download | vyatta-op-779df7e2f84b2750f33c073b2f310398d9f8a0fa.tar.gz vyatta-op-779df7e2f84b2750f33c073b2f310398d9f8a0fa.zip |
- Fix bug 776: need "clear interface" command to clear counters
- Fix bug 1095: Enhancement Request: "Show interface brief" command
- Change default to "brief" if multiple interfaces can be shown
- Add "detail" for nodes defaulting to brief
- Add "brief" for nodes defaulting to detail
- Fix vif completions that wasn't working
- Remove ethtool can on vlans since it doesn't work
Diffstat (limited to 'templates/show/interfaces/bridge')
4 files changed, 11 insertions, 0 deletions
diff --git a/templates/show/interfaces/bridge/detail/node.def b/templates/show/interfaces/bridge/detail/node.def new file mode 100644 index 0000000..442317a --- /dev/null +++ b/templates/show/interfaces/bridge/detail/node.def @@ -0,0 +1,2 @@ +help: Show detailed bridge interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=bridge --action=show diff --git a/templates/show/interfaces/bridge/node.def b/templates/show/interfaces/bridge/node.def new file mode 100644 index 0000000..006dc64 --- /dev/null +++ b/templates/show/interfaces/bridge/node.def @@ -0,0 +1,2 @@ +help: Show bridge interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=bridge --action=show-brief diff --git a/templates/show/interfaces/bridge/node.tag/brief/node.def b/templates/show/interfaces/bridge/node.tag/brief/node.def new file mode 100644 index 0000000..b277607 --- /dev/null +++ b/templates/show/interfaces/bridge/node.tag/brief/node.def @@ -0,0 +1,2 @@ +help: Show summary of a given bridge interface information +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 --action=show-brief diff --git a/templates/show/interfaces/bridge/node.tag/node.def b/templates/show/interfaces/bridge/node.tag/node.def new file mode 100644 index 0000000..9248741 --- /dev/null +++ b/templates/show/interfaces/bridge/node.tag/node.def @@ -0,0 +1,5 @@ +help: Show given bridge interface information +allowed: local -a array ; + array=( /sys/class/net/br* ) ; + echo -n ${array[@]##*/} +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 |