Page MenuHomeVyOS Platform

Addition and deletion of allowed-vlans on a bridge member is slow
Closed, ResolvedPublic

Description

Ranges that are configured in allowed-vlans (e.g. 1-4094), are deconstructed into all of their individual VLANs, which is unnecessary for the execution of these:
bridge vlan add dev {interface} vid {vlan} master
bridge vlan del dev {interface} vid {vlan} master

This leads to a very long commit time when doing large ranges.

Example:
Execution time of allowed-vlans 1-4094 in current state: 38.94 seconds

Execution time of allowed-vlans 1-4094 without unnecessary deconstruction of range: 4.94 seconds

Details

Version
1.4, 1.5
Is it a breaking change?
Perfectly compatible
Issue type
Performance optimization

Event Timeline

L0crian created this object in space S1 VyOS Public.
dmbaturin renamed this task from Bridge: Addition/Deletion of allowed-vlans on bridge member is slow to Addition and deletion of allowed-vlans on a bridge member is slow.Jul 9 2025, 12:22 PM
dmbaturin closed this task as Resolved.

@dmbaturin

I just noticed this was mentioned as being added to 1.4.3 in the release notes:

Other resolved issues

Addition and deletion of allowed-vlans on a bridge member is slow (T7322).

But it doesn't appear to have actually made it into 1.4.3. Was it supposed to be in 1.4.3?

c-po reopened this task as Needs testing.Aug 9 2025, 7:24 AM
c-po subscribed.

Re-opened for 1.4.4 backport

I have tested the latest internal build of sagitta and the next version 1.4.4 will contain this fix.