diff options
author | Stefan Sicleru <stefan.sicleru@enea.com> | 2016-08-30 18:32:48 +0200 |
---|---|---|
committer | Stefan Sicleru <stefan.sicleru@enea.com> | 2016-08-31 13:17:44 +0200 |
commit | 42050fe09821b29b4879f77411eb558c57c302cc (patch) | |
tree | d50f0ab0ea04c9c901070ba74ead20ca1c33db2c /upstream/fuel | |
parent | 6ae4e120c5f6aab6834e0ec42599e1b409a9af05 (diff) |
net-check: add support for faulty operstate
Some eth drivers, such as those for APM X-Gene Mustang Board's NICs, do
not advertise operstate properly in sysfs, ie. it is advertised as
"unknown" whereas ethtool shows the NIC as fully functional with link
detected. This further affects "ip link show" output which is parsed
within _check_iface_ready() method.
Replace "ip link show" command with "ethtool" in order to obtain proper
results when operstate is unknown.
Launchpad bug: https://bugs.launchpad.net/fuel/+bug/1618480
Change-Id: If8e28d3720161d9ffe897b875af235561cf1062d
Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com>
Diffstat (limited to 'upstream/fuel')
0 files changed, 0 insertions, 0 deletions