Skip to content

T7899: virtual-ethernet interfaces support broadcasts#44

Merged
dmbaturin merged 2 commits intocurrentfrom
veth-broadcast
Oct 9, 2025
Merged

T7899: virtual-ethernet interfaces support broadcasts#44
dmbaturin merged 2 commits intocurrentfrom
veth-broadcast

Conversation

@c-po
Copy link
Member

@c-po c-po commented Oct 6, 2025

Change summary

The Linux Kernel treats virtual-ethernet interfaces like regular ethernet interfaces. As ethernet interfaces support broadcasts and we have a completion helper for broadcast interfaces, this must be extended for virtual-ethernet interfaces.

vyos@vyos# ${vyos_completion_dir}/list_interfaces --broadcast
eth0 eth0.10 eth0.201 eth1 eth2 eth3 veth101 veth102 veth201 veth202

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

c-po added 2 commits October 6, 2025 21:14
Compatibility levels before 10 are deprecated
The Linux Kernel treats virtual-ethernet interfaces like regular ethernet
interfaces. As ethernet interfaces support broadcasts and we have a completion
helper for broadcast interfaces, this must be extended for virtual-ethernet
interfaces.

    vyos@vyos# ${vyos_completion_dir}/list_interfaces --broadcast
    eth0 eth0.10 eth0.201 eth1 eth2 eth3 veth101 veth102 veth201 veth202
Copy link
Member

@sever-sever sever-sever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add veth interfaces to the list broadcast interfaces

@c-po c-po added the current label Oct 7, 2025
Copy link
Member

@dmbaturin dmbaturin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are certainly broadcast interfaces and we have a CLI for them, so I can't see any possible objections.

@dmbaturin dmbaturin merged commit 3a42a58 into current Oct 9, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants