MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / net_install_tool

Function net_install_tool

network_diagnostics.py:1992–1996  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1990 if m:
1991 v6.append(m.group(1))
1992 return v4, v6
1993
1994
1995def _iface_ethtool(iface):
1996 """Speed / duplex / auto-negotiation / link. Wireless & virtual ifaces
1997 typically don't support this -> fields stay None."""
1998 d = {'speed': None, 'duplex': None, 'autoneg': None, 'link_detected': None}
1999 res = _run(['ethtool', iface], timeout=6)

Callers

nothing calls this directly

Calls 3

_logFunction · 0.85
do_install_toolFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected