Created
January 11, 2014 15:47
-
-
Save fredhsu/8372472 to your computer and use it in GitHub Desktop.
Local.conf file for devstack using Neutron, ML2, and allowing connectivity to an external switch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[local|localrc]] | |
HOST_IP=172.22.28.204 | |
# Interface connected to switch | |
FLAT_INTERFACE=eth1 | |
# Logging settings | |
LOGDAYS=1 | |
LOGFILE=$DEST/logs/stack.sh.log | |
SCREEN_LOGDIR=$DEST/logs/screen | |
# Passwords and token | |
ADMIN_PASSWORD=admin | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=token | |
# Clean up on every restart | |
RECLONE=yes | |
# Fixed and floating subnets | |
FIXED_RANGE=10.254.1.0/24 | |
NETWORK_GATEWAY=10.254.1.1 | |
# Disable Nova Networking and enable Neutron | |
disable_service n-net | |
enable_service q-svc | |
enable_service q-agt | |
enable_service q-dhcp | |
enable_service q-l3 | |
enable_service q-meta | |
enable_service neutron | |
# Turn on ML2 | |
Q_PLUGIN=ml2 | |
# Allow tenants to create vlans? | |
ENABLE_TENANT_VLANS=True | |
TENANT_VLAN_RANGE=1100:2999 | |
# these are needed fo VLANs for tenants to connect to physical switch | |
PHYSICAL_NETWORK=default | |
OVS_PHYSICAL_BRIDGE=br-eth1 | |
# I think this will load the arista ML2 driver | |
# Q_ML2_PLUGIN_MECHANISM_DRIVERS = openvswitch,linuxbridge,arista |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what version of openstack and operating system are you using ??