fixup! Fix KeyError: 'pvid' in lldp.py

This commit is contained in:
illes 2022-04-29 07:50:17 +00:00
commit 5346e0fdf9
3 changed files with 18 additions and 1 deletions

7
tests/fixtures/lldp/223.txt vendored Normal file
View file

@ -0,0 +1,7 @@
lldp.eth0.vlan.vlan-id=300
lldp.eth0.vlan.pvid=yes
lldp.eth0.vlan=VLAN300
# PVID is optional
lldp.eth1.vlan.vlan-id=300
lldp.eth1.vlan=VLAN300