ML2 vlan type driver does not honor network_vlan_ranges
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Paul Ward |
Bug Description
I have the following configuration entry in /etc/neutron/
[ml2_type_vlan]
network_vlan_ranges = default:1:4093
However, creating a new network with a segmentation_id of 4094 is NOT prevented.
In looking at type_vlan.py (https:/
I propose a fix of simply checking the network segment's segmentation_id against the network_vlan_ranges defined range, which has been populated into the self.network_
Changed in neutron: | |
assignee: | nobody → Paul Ward (wpward) |
By creating a network with a specific vlan you are creating a provider network. A provider network can have any vlan and is not confined to the network_ vlan_ranges, which is the pool for vlans for tenant networks.
Can you please confirm the command or API you used to create a network with vlan 4094?