diff options
author | 2016-08-30 18:32:48 +0200 | |
---|---|---|
committer | 2016-10-06 13:25:28 +0000 | |
commit | fcc8505054ff7499fed841a70ddc2e3e011dd12a (patch) | |
tree | 032e67c91c85b8b598164cd60506cf7c734e7f46 /ci/deploy.sh | |
parent | adc61fb7af7559b89ca70d44b5271d29db9a00e0 (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
Closes-bug: ARMBAND-140
Change-Id: If8e28d3720161d9ffe897b875af235561cf1062d
Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com>
(cherry picked from commit 42050fe09821b29b4879f77411eb558c57c302cc)
Diffstat (limited to 'ci/deploy.sh')
0 files changed, 0 insertions, 0 deletions