Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ _is_wireless
Function
_is_wireless
network_diagnostics.py:556–558 ·
view source on GitHub ↗
(iface)
Source
from the content-addressed store, hash-verified
554
return
k, d[k]
555
return
None, {}
556
557
558
def
_scalar(v):
559
""
"lldpctl represents values either as a scalar or as {'value': X}."
""
560
if
isinstance(v, dict):
561
return
v.get(
'value'
)
Callers
1
do_interfaces
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected