dellcloudedge/barclamp-deployer — pull request #32 by galthaus (2012-05-25 19:42:47+00:00)
Title: Update speed discovery to handle bad adapters [1/5]

Some virtual adapters don't support the ethtool ioctl.
This fails and prevents the node from making progress.
Add an error message and force the speed to 1g and 0g.
0g indicates the error in the data space.

chef/cookbooks/barclamp/libraries/test.rb | 12 ++++
.../ohai/files/default/plugins/crowbar.rb | 58 ++++++++++++--------
2 files changed, 46 insertions(+), 24 deletions(-)