Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PierreGode/Ragnar
/ net_lldp
Function
net_lldp
network_diagnostics.py:1974–1976 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1972
m = re.search(r
'vlan protocol (\S+) id (\d+)'
, out)
1973
if
m:
1974
d[
'vlan_proto'
] = m.group(1)
1975
d[
'vlan_id'
] = int(m.group(2))
1976
return
d
1977
1978
1979
def
_iface_addrs(iface):
Callers
nothing calls this directly
Calls
2
_log
Function · 0.85
do_lldp
Function · 0.85
Tested by
no test coverage detected