Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libvirt: Don't depend on ifindex to identify physical interfaces #1740

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

jbemmel
Copy link
Collaborator

@jbemmel jbemmel commented Jan 3, 2025

As can be seen in the corrected test outputs, VLAN SVI interfaces can have an ifindex<1000 which causes libvirt to count them as 'physical' interfaces. This in turn messes up the padding logic, resulting in missing interfaces

This bug can be triggered in topologies involving VLANs and custom ifindex override attributes

Partly fixes #1738

@ipspace ipspace merged commit c801405 into ipspace:dev Jan 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ifindex assigned to SVI interfaces typically too low
2 participants