LLDP: add IEEE 802.1Q and 802.1AX org-specific TLVs#4970
Conversation
|
Thanks for the PR. Could you please check if it is possible to add interoperability tests with existing tools or libraries, such as lldpd, to the unit tests. |
Hi Nils, by interoperability tests you mean: Making a real environment -> capturing everything -> writing tests based on the pcaps to make sure it gets parsed correctly? Like the last test ( |
|
No, those tests are also important, but if possible I have something like this in mind. Start lldpd with a certain configuration in a subprocess, In this way we can automatically verify the interaction with a real world application/libray. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4970 +/- ##
==========================================
+ Coverage 80.02% 80.05% +0.02%
==========================================
Files 384 384
Lines 95622 95762 +140
==========================================
+ Hits 76526 76664 +138
- Misses 19096 19098 +2
🚀 New features to boost your workflow:
|
|
LGTM, but the doc tests fail with |
…rg-specific dispatch AI-Assisted: yes (Claude Sonnet 4.6)
0c153b2 to
8e2d6e7
Compare
|
Regarding the interoperability tests, it doesn't matter if not all IDs are supported. At least we get an overall good coverage on AI generated code. |
Hi everyone,
This PR adds 15 new org-specific TLVs for IEEE 802.1Q:
First, I wanted to implement only the ones that I needed (VLAN stuff), but then decided to implement all of them.
The code has been written mostly by AI. I've reviewed and corrected every line of it.