Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-18 | op-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-18 | op-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-19 | lldp: op-mode: convert data processing from XML to JSON | Christian Poessinger | |
2020-08-03 | lldp: op-mode: T2323: "show lldp neighbors detail" only works when service runs | Christian 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-08 | op-mode: lldp: T2246: check if service is configured | Christian Poessinger | |
2020-04-06 | util: T2226: rewrite op lldp to use popen | Thomas Mangin | |
2019-12-22 | lldp: T393: first op mode command version | Christian Poessinger | |