Ask Your Question
1

Neutron ml2 with openvswitch: only VLANs and no tunneling

asked 2015-03-25 20:10:08 -0600

GLaupre gravatar image

updated 2015-03-26 11:31:21 -0600

Hello,

I am tying to do a simple setup using devstack with the parameter ENABLE_TENANT_TUNNELS=False. I just want to have my instances on my compute node attached to the br-int bridge and the latest attached directly to my physical interface (no br-tun then). I want to use only VLANs and no tunnelling mechanisms.

First of all, is it possible to do so or I will need anyway to create a bridge br-eth to patch my br-int with my physical interface "eth1"? I took the idea here: image description ( http://www.openstack.org/assets/prese... slide 7)

If I do need this bridge br-eth1, I am confused and I don't really understand it purpose. What it is used for?

Thank you very much :)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-27 12:52:40 -0600

GLaupre gravatar image

updated 2015-03-27 12:54:48 -0600

What I did was to create the bridge by hand before deploying devstack:

ovs-vsctrl add-br br-enp2s0f4

And in the local.conf file of the controller node I added: For the ml2 conf

ENABLE_TENANT_VLANS=True
ENABLE_TENANT_TUNNELS=False
ML2_VLAN_RANGES=mynetwork:100:199

For ovs conf

OVS_BRIDGE_MAPPINGS=mynetwork:br-enp2s0f4
OVS_PHYSICAL_BRIDGE=br-enp2s0f4
OVS_ENABLE_TUNNELING=False

Now it works, and all the traffic goes through my physic interface enp2s0f4.

edit flag offensive delete link more
0

answered 2015-03-26 15:26:14 -0600

jdexter gravatar image

It is possible to do what you ask. And in this br-eth1 would be needed as its an abstration used by OVS to connect to your physical device.

There is a good write up on using a vlan provider network on the RDO sight. Just change all of the references of quantum to Neutron.

https://www.rdoproject.org/Neutron_wi...

edit flag offensive delete link more

Comments

Thank you, I'll take a look

GLaupre gravatar imageGLaupre ( 2015-03-27 13:58:48 -0600 )edit

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

Stats

Asked: 2015-03-25 20:10:08 -0600

Seen: 870 times

Last updated: Mar 27 '15