mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
Merge pull request #1326 from kernelkit/allow-llpd-disabled
yanger: Allow lldpd to be disabled (or crashed)
This commit is contained in:
@@ -34,7 +34,7 @@ def operational():
|
||||
|
||||
port_data = defaultdict(lambda: {"remote-systems-data": [], "dest-mac-address": LLDP_MULTICAST_MAC})
|
||||
|
||||
data = HOST.run_json(["lldpcli", "show", "neighbors", "-f", "json"])
|
||||
data = HOST.run_json(["lldpcli", "show", "neighbors", "-f", "json"], {})
|
||||
|
||||
interfaces = data.get("lldp", {}).get("interface", [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user