diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-27 10:34:15 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-27 10:34:15 -0800 |
commit | f5f7daa74e64aed0615cfc6509788f29a3b5e122 (patch) | |
tree | 0497500daa906e78fc5c29f527fc367939b4ead4 | |
parent | be74306e036474567c54f8c48da3093a26195ca6 (diff) | |
download | vyatta-op-f5f7daa74e64aed0615cfc6509788f29a3b5e122.tar.gz vyatta-op-f5f7daa74e64aed0615cfc6509788f29a3b5e122.zip |
Fix expansion of bonding VIF
Use new --vif flag
-rw-r--r-- | templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def b/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def index 52bfbee..a7fe9ac 100644 --- a/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def +++ b/templates/show/interfaces/bonding/node.tag/vif/node.tag/node.def @@ -1,5 +1,3 @@ help: Show specified virtual network interface (vif) information -allowed: local -a array ; - array=( /sys/class/net/${COMP_WORDS[3]}.* ) ; - echo -n ${array[@]##*.} +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show bonding --vif $4 run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" |