Bug ID 1016509: System allows creation of duplicate VLAN names

Last Modified: Nov 22, 2021

Bug Tracker

Affected Product:  See more info
F5OS Install/Upgrade, Velos(all modules)

Known Affected Versions:
1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4

Opened: May 06, 2021
Severity: 3-Major


The /vlans/vlan/config/name value is a free format string and allows duplicate names to be created.


Duplicate VLANs are created without error. Which VLAN the system uses is not predictable.


Creating a VLAN using a name that already exists (encountered at the /vlans/vlan/config/name endpoint).


Ensure VLAN names are unique.

Fix Information


Behavior Change

VLAN names now have the following constraints: - May start with an alphabetic character (Aa-Zz). - Cannot exceed 56 characters in length. - May contain alpha-numeric characters, periods (.), hyphens (-), and underscores (_). - Must be unique among VLANs. Important upgrade information: Before upgrading: -- Ensure that all VLAN names meet these constraints. -- Update any scripts that create VLANs whose names violate these constraints. -- Configurations from previous versions containing /vlans/vlan/config/name strings that do not meet the new validation rules will fail to load after upgrade. -- Configuration scripts with /vlans/vlan/config/name strings that do not meet the new validation rules will fail after upgrade.