From e87e51acee19298aa9685ed1a66026050a85b1db Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 17 Apr 2016 20:07:42 +0200 Subject: fuel-nailgun-agent: ohai: Read L1 info w/ ethtool. fuel-nailgun-agent uses ohai and rethtool for reading eth info, including ethernet card speed. However, current methods rely on the drivers populating the advertised and/or supported link speed lists. This is not true for all drivers, especially for some Fibers that only report the speed via ethtool when the link is up. This patch adds support for reading L1 info from ohai, which supports parsing ethtool speed starting with version amos2 [1]. [1] https://linux.enea.com/mos-repos/ubuntu/8.0/pool/main/o/ ohai/ohai_6.14.0-2~u14.04+mos1+mos8.0+amos2_all.deb Change-Id: Ic8c252e411a680af32cc68574c572434147a7e78 (cherry picked from commit 20f60bd215bc73f4fd9d8c0c08598fb4e6a28b77) --- .gitmodules | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitmodules') diff --git a/.gitmodules b/.gitmodules index d5ab1033..4f159866 100644 --- a/.gitmodules +++ b/.gitmodules @@ -34,3 +34,7 @@ path = upstream/fuel-plugin-opendaylight url = https://github.com/openstack/fuel-plugin-opendaylight.git branch = brahmaputra-release +[submodule "fuel-nailgun-agent"] + path = upstream/fuel-nailgun-agent + url = https://github.com/openstack/fuel-nailgun-agent + branch = stable/8.0 -- cgit 1.2.3-korg