summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireless.xml.in
diff options
context:
space:
mode:
authorBenjamin M. Hughes <bmhughes@bmhughes.co.uk>2020-10-18 15:29:04 +0100
committerBenjamin M. Hughes <bmhughes@bmhughes.co.uk>2020-10-18 15:29:04 +0100
commitb39d623170377b2e99fd7e88b627afea71e4d00c (patch)
treec0994a63ef454a2fb5b1c34ba076ae0be48113b1 /interface-definitions/interfaces-wireless.xml.in
parente667e06cffe42744c8cc71be02b080e1bccf241b (diff)
downloadvyos-1x-b39d623170377b2e99fd7e88b627afea71e4d00c.tar.gz
vyos-1x-b39d623170377b2e99fd7e88b627afea71e4d00c.zip
op-mode: lldp: T2993: Fix 'show lldp neighbors'
'show lldp neighbors' fails with: Traceback (most recent call last): File "./lldp_op.py", line 122, in <module> config_text = tmpl.render(parse_data(neighbors)) File "./lldp_op.py", line 51, in parse_data for local_if, values in tmp.items(): AttributeError: 'str' object has no attribute 'items' `parse_data` was expecting data to be provided as a dict within an array which doesn't match the format from the parsed json output of lldpcli. Change `parse_data` and `main` to use a dict alone for passing interface neighbors for rendering.
Diffstat (limited to 'interface-definitions/interfaces-wireless.xml.in')
0 files changed, 0 insertions, 0 deletions