Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: parent_ifindex of a VLAN subinterface could be zero
The 'check_mixed_trunks' VLAN function identified routed VLAN subinterface based on parent_ifindex being non-false. That failed on Junos where the ifindex starts with zero. Changed the test to check for the presence of parent_ifindex attribute. Probably fixes #1708
- Loading branch information
2cbc272
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar issue at:
netlab/netsim/modules/vlan.py
Line 1450 in 2cbc272
Although not as impactful