- Learning OpenStack Networking
- James Denton
- 203字
- 2025-02-24 14:51:47
Tenant network types
The tenant_network_types configuration option describes the type of networks that a tenant or project can create. When using the Linux bridge Mechanism driver, the supported tenant network types are flat, vlan, local, vxlan, and none.
The configuration option takes values in an ordered list, such as vlan,vxlan. In this example, when a user creates a network, Neutron will automatically provision a VLAN network and ID without any user interaction. When all available VLAN IDs have been allocated, Neutron will allocate a network of the next type in the list. In this case, a VXLAN network and VNI would be allocated. When all segmentation IDs of any listed network type have been allocated, users will no longer be able to create networks and an error will be presented to the user.
Update the ML2 configuration file on the controller node and add the following tenant_network_types configuration to the [ml2] section:
[ml2]
...
tenant_network_types= vlan,vxlan
If at any time you wish to change the value of tenant_network_types, edit the plugin configuration file accordingly on all nodes and restart the neutron-server service.