Devstack with GRE tunnels in Havana

Jun 28 2013

This post is an update to the Devstack in a multi-node configuration tutorial.

The latest version of the Quantum Neutron code has a cool feature that enables the OVS plugin to use VXLAN tunnels instead of GRE. If you want to test it, just make sure that you're using a version of OpenvSwitch >= 1.10.

To select which encapsulation to use with devstack, new parameters have been added:

  • Q_SRV_EXTRA_OPTS
  • Q_AGENT_EXTRA_AGENT_OPTS
  • Q_AGENT_EXTRA_OVS_OPTS

Check the README for details.

This also means that until Kyle's patch gets merged, it is required to select explicitly the encapsulation method as shown in the following localrc files.

localrc file of the controller node:

# Network settings
#
FLAT_INTERFACE=eth0
ENABLE_TENANT_TUNNELS=True
Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_type=gre)
Q_AGENT_EXTRA_OVS_OPTS=(tenant_network_type=gre)
Q_SRV_EXTRA_OPTS=(tenant_network_type=gre)
Q_USE_NAMESPACE=True
Q_USE_SECGROUP=True

#
# Other parameters omitted for simplicity

localrc file of the compute node(s):

# Network settings
#
FLAT_INTERFACE=eth0
Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_type=gre)
Q_AGENT_EXTRA_OVS_OPTS=(tenant_network_type=gre)
Q_USE_NAMESPACE=True
Q_USE_SECGROUP=True

#
# Other parameters omitted for simplicity

Happy devstacking!


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 4.5.1 - Documentation - Legal Notice

Site maintained by