summaryrefslogtreecommitdiff
path: root/src/op_mode/lldp_op.py
AgeCommit message (Collapse)Author
2022-03-04op-mode: lldp: T3999: bugfix cap' referenced before assignmentChristian Poessinger
2021-11-28op-mode: lldp: T3999: bugfix KeyError: 'capability'Christian Poessinger
2020-12-02op-mode: lldp: T3104: bugfix AttributeError on multiple hosts/networkChristian Poessinger
2020-11-27vyos.template: T2720: always enable Jinja2 trim_blocks featureChristian Poessinger
2020-10-18op-mode: lldp: T2993: Fixup 'show lldp neighbors'Benjamin M. Hughes
Check that interfaces have been returned from lldpcli to prevent trace when no interfaces are enabled for lldp.
2020-10-18op-mode: lldp: T2993: Fix 'show lldp neighbors'Benjamin M. Hughes
'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.
2020-08-19lldp: op-mode: convert data processing from XML to JSONChristian Poessinger
2020-08-03lldp: op-mode: T2323: "show lldp neighbors detail" only works when service runsChristian Poessinger
The problem exists when LLDP is not configured but one wants to run the detail command. Running "show lldp neighbors" is not possible when LLDP is not running. This case is already handled for "show lldp neighbors" and has been extended for "show lldp neighbors detail".
2020-04-08op-mode: lldp: T2246: check if service is configuredChristian Poessinger
2020-04-06util: T2226: rewrite op lldp to use popenThomas Mangin
2019-12-22lldp: T393: first op mode command versionChristian Poessinger