<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode/lldp_op.py, branch feature/T9082-codeql-cpp</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-01-12T18:38:32+00:00</updated>
<entry>
<title>T4911: op-mode: rewrite LLDP in standardised op-mode format</title>
<updated>2023-01-12T18:38:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-01-12T17:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bc42dc94cd9d9979e84b4bd6e086893358417c92'/>
<id>urn:sha1:bc42dc94cd9d9979e84b4bd6e086893358417c92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: lldp: T3999: bugfix cap' referenced before assignment</title>
<updated>2022-03-04T19:08:27+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-03-04T19:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c06861440cd21ff7c668b35ed1039f5fac4101b9'/>
<id>urn:sha1:c06861440cd21ff7c668b35ed1039f5fac4101b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: lldp: T3999: bugfix KeyError: 'capability'</title>
<updated>2021-11-28T09:44:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-11-28T09:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b675c8b6187c4b77759e3f96c9c92dd382dabeae'/>
<id>urn:sha1:b675c8b6187c4b77759e3f96c9c92dd382dabeae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: lldp: T3104: bugfix AttributeError on multiple hosts/network</title>
<updated>2020-12-02T19:00:21+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-12-02T19:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=66e74557d9434b4b11e7a8a9320790c7319ab864'/>
<id>urn:sha1:66e74557d9434b4b11e7a8a9320790c7319ab864</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vyos.template: T2720: always enable Jinja2 trim_blocks feature</title>
<updated>2020-11-27T14:41:17+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-11-27T14:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a2ac9fac16eeb626d3969092fecf463650750640'/>
<id>urn:sha1:a2ac9fac16eeb626d3969092fecf463650750640</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: lldp: T2993: Fixup 'show lldp neighbors'</title>
<updated>2020-10-18T15:22:26+00:00</updated>
<author>
<name>Benjamin M. Hughes</name>
<email>bmhughes@bmhughes.co.uk</email>
</author>
<published>2020-10-18T15:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5293a9d048b0187ad8c0819097edddc25c492519'/>
<id>urn:sha1:5293a9d048b0187ad8c0819097edddc25c492519</id>
<content type='text'>
Check that interfaces have been returned from lldpcli to prevent trace when
no interfaces are enabled for lldp.
</content>
</entry>
<entry>
<title>op-mode: lldp: T2993: Fix 'show lldp neighbors'</title>
<updated>2020-10-18T14:29:04+00:00</updated>
<author>
<name>Benjamin M. Hughes</name>
<email>bmhughes@bmhughes.co.uk</email>
</author>
<published>2020-10-18T14:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b39d623170377b2e99fd7e88b627afea71e4d00c'/>
<id>urn:sha1:b39d623170377b2e99fd7e88b627afea71e4d00c</id>
<content type='text'>
'show lldp neighbors' fails with:

Traceback (most recent call last):
  File "./lldp_op.py", line 122, in &lt;module&gt;
    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.
</content>
</entry>
<entry>
<title>lldp: op-mode: convert data processing from XML to JSON</title>
<updated>2020-08-19T16:30:33+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-08-19T16:30:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=509f347d0858e37de9fdeaa1a7aeeb6888fb4b7b'/>
<id>urn:sha1:509f347d0858e37de9fdeaa1a7aeeb6888fb4b7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lldp: op-mode: T2323: "show lldp neighbors detail" only works when service runs</title>
<updated>2020-08-03T15:08:47+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-08-03T15:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ee45fcf5f5342d40b5dcd39429a4201c93a49b4c'/>
<id>urn:sha1:ee45fcf5f5342d40b5dcd39429a4201c93a49b4c</id>
<content type='text'>
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".
</content>
</entry>
<entry>
<title>op-mode: lldp: T2246: check if service is configured</title>
<updated>2020-04-08T18:36:30+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-08T18:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b184a5700f22bac01aa937fa3d8321f003d6ca14'/>
<id>urn:sha1:b184a5700f22bac01aa937fa3d8321f003d6ca14</id>
<content type='text'>
</content>
</entry>
</feed>
