Ask Your Question

Multiple tenant_network_types

asked 2016-09-30 09:35:18 -0500

bluecaddy gravatar image

I don't believe tenant users can choose which network "type" he wants when creating a project/tenant network.

Whenever "tenant_network_types" is set with multiple values (vlan, vxlan, gre), and a tenant creates his own network, which "type" does Neutron choose for its creation?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-09-30 16:39:12 -0500

kaustubh gravatar image

If multiple types are defined, the first type specified in type_drivers is used when a tenant creates a network.

For example, if you have type_drivers = flat,vlan,gre,vxlan within the ml2_conf.ini file, tenant networks will be of flat type.

Specifying the network type I think requires admin privileges. However, you might be able to allow regular users to do this operation by modifying policy.json file.

edit flag offensive delete link more

answered 2016-10-04 13:42:28 -0500

dsneddon gravatar image

When multiple type drivers are used, they are selected in the order given when a tenant requests a network. If a network cannot be allocated from the given network type, the next type is used. For instance, in a scenario where type_drivers = vlan,vxlan and there are 100 VLANs in the network_vlan_ranges in ml2_conf.ini, the tenant networks will be of type vlan until all 100 VLAN networks are assigned. When further tenant networks are created, Neutron will assign VXLAN networks, and so on.

The admin can request any network type, and as long as the corresponding drivers are enabled. This is how an admin can create Provider VLAN networks when the first type_driver is not vlan.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-09-30 09:35:18 -0500

Seen: 161 times

Last updated: Oct 04 '16