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

Function _log

network_diagnostics.py:1919–1924  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

1917 elif starvation >= _DHCP_STARV_MIN_CLIENTS:
1918 verdict = 'starvation'
1919 if not packets:
1920 reasons.append("no DHCP seen on the wire during the window — quiet segment, "
1921 "or the box may not actually be inline (bridge the two NICs)")
1922
1923 return {
1924 'success': True, 'verdict': verdict,
1925 'trusted': trusted, 'untrusted': untrusted,
1926 'packets': len(packets),
1927 'servers': [{'server': sid, 'port': i['port'], 'trusted': i['trusted'],

Callers 15

net_pingFunction · 0.85
net_tracerouteFunction · 0.85
net_mtrFunction · 0.85
net_whoisFunction · 0.85
net_speedtestFunction · 0.85
net_lldpFunction · 0.85
net_arp_scanFunction · 0.85
net_identityFunction · 0.85
net_install_toolFunction · 0.85
net_interfacesFunction · 0.85
net_ispFunction · 0.85
net_dnsFunction · 0.85

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected