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

Function net_iperf3_server

network_diagnostics.py:2036–2040  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2034 timeout=6)
2035 if res['rc'] == 0:
2036 conn = res['out'].strip()
2037 if conn and conn != '--':
2038 r2 = _run(['nmcli', '-t', '-g', 'ipv4.method', 'connection', 'show', conn],
2039 timeout=6)
2040 method = r2['out'].strip()
2041 if method == 'auto':
2042 return 'dhcp'
2043 if method == 'manual':

Callers

nothing calls this directly

Calls 3

_logFunction · 0.85
do_iperf3_serverFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected