MCPcopy 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
1979def _iface_addrs(iface):

Callers

nothing calls this directly

Calls 2

_logFunction · 0.85
do_lldpFunction · 0.85

Tested by

no test coverage detected