Network with mixed flat and vlan setup

asked 2014-07-14 23:39:55 -0600

ssgelm gravatar image

For testing purposes (would probably not be this way in production) I am looking to create a network setup with neutron and openvswitch where the network is flat on the controller and network controller and a vlan on the compute nodes. Is that possible?

All nodes are running Icehouse on Debian Wheezy. For some background, the problem is that for testing we are dedicating physical hardware to the compute nodes but we are using Xen VMs for the controller and network controller. The VLANs for openstack show up as VLANs on the physical nodes but as flat interfaces on the Xen VMs (Xen handles the VLANs). Is this setup possible? Is there a better way it should be handled? Thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-16 00:28:28 -0600

ssgelm gravatar image

I managed to figure this out. For anyone looking to do this there are two necessary steps.

  1. On each host edit /etc/neutron/plugins/ml2/ml2_conf.ini to properly configure each host (make sure to use consistent naming - one name for the vlan physical network, one for the flat physical network).
  2. Use the api to add the network with multiple segments using the API calls at .

Neutron will figure out which segment to use based on the name of the network specified in the config on each host.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-14 23:39:55 -0600

Seen: 373 times

Last updated: Jul 16 '14