Created
June 6, 2014 16:30
-
-
Save Apsu/f923a3f8a807d073f8ce to your computer and use it in GitHub Desktop.
devstack ML2+LB+VXLAN local.confs
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
# localrc compatible overrides | |
[[local|localrc]] | |
RECLONE=false | |
LOGFILE=/opt/stack/logs/stack.sh.log | |
# Secrets | |
ADMIN_PASSWORD=secrete | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 | |
# Compute node services | |
ENABLED_SERVICES=n-cpu,neutron,q-agt | |
SERVICE_HOST=172.16.0.1 | |
MYSQL_HOST=$SERVICE_HOST | |
RABBIT_HOST=$SERVICE_HOST | |
Q_HOST=$SERVICE_HOST | |
GLANCE_HOSTPORT=$SERVICE_HOST:9292 | |
KEYSTONE_AUTH_HOST=$SERVICE_HOST | |
KEYSTONE_SERVICE_HOST=$SERVICE_HOST | |
## Use ML2 + LinuxBridge | |
#PUBLIC_INTERFACE=eth2 | |
LB_PHYSICAL_INTERFACE=eth3 | |
PHYSICAL_NETWORK=public | |
# Set ML2 plugin + LB agent | |
Q_PLUGIN=ml2 | |
Q_AGENT=linuxbridge | |
# Set ML2 mechanism drivers to LB and l2pop | |
Q_ML2_PLUGIN_MECHANISM_DRIVERS=linuxbridge,l2population | |
# Set type drivers | |
Q_ML2_PLUGIN_TYPE_DRIVERS=flat,vlan,vxlan | |
# Use Neutron security groups | |
Q_USE_SECGROUP=True | |
# Set possible tenant network types | |
Q_ML2_TENANT_NETWORK_TYPE=flat,vlan,vxlan | |
FIXED_RANGE=10.0.0.0/24 | |
NETWORK_GATEWAY=10.0.0.1 | |
#PUBLIC_NETWORK_GATEWAY=172.16.0.254 | |
HOST_IP=172.16.0.3 | |
# VLAN configuration -- WORKS | |
#ENABLE_TENANT_VLANS=True | |
#TENANT_VLAN_RANGE=100:200 | |
# Simple GRE tunnel configuration -- overrides extra opts | |
ENABLE_TENANT_TUNNELS=True | |
[[post-config|/$Q_PLUGIN_CONF_FILE]] | |
[vxlan] | |
l2_population = True | |
enable_vxlan = True | |
local_ip = 172.16.1.3 | |
#[linux_bridge] | |
#l2_population=True |
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
# localrc compatible overrides | |
[[local|localrc]] | |
RECLONE=false | |
LOGFILE=/opt/stack/logs/stack.sh.log | |
# Switch to Neutron | |
disable_service n-net | |
enable_service n-cond | |
enable_service q-svc | |
enable_service q-agt | |
enable_service q-dhcp | |
enable_service q-l3 | |
enable_service q-meta | |
enable_service neutron | |
# Enable multi-host | |
MULTI_HOST=1 | |
# Disable Nova Compute | |
disable_service n-cpu | |
# Disable cinder/heat/tempest for faster testing | |
disable_service c-sch c-api c-vol h-eng h-api h-api-cfn h-api-cw tempest | |
# Secrets | |
ADMIN_PASSWORD=secrete | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 | |
## Use ML2 + LinuxBridge | |
#PUBLIC_INTERFACE=eth2 | |
LB_PHYSICAL_INTERFACE=eth3 | |
PHYSICAL_NETWORK=public | |
# Set ML2 plugin + LB agent | |
Q_PLUGIN=ml2 | |
Q_AGENT=linuxbridge | |
# Set ML2 mechanism drivers to LB and l2pop | |
Q_ML2_PLUGIN_MECHANISM_DRIVERS=linuxbridge,l2population | |
# Set type drivers | |
Q_ML2_PLUGIN_TYPE_DRIVERS=flat,vlan,vxlan | |
# Use Neutron security groups | |
Q_USE_SECGROUP=True | |
# Set possible tenant network types | |
Q_ML2_TENANT_NETWORK_TYPE=flat,vlan,vxlan | |
FIXED_RANGE=10.0.0.0/24 | |
NETWORK_GATEWAY=10.0.0.1 | |
#PUBLIC_NETWORK_GATEWAY=172.16.0.254 | |
HOST_IP=172.16.0.1 | |
# VLAN configuration -- WORKS | |
#ENABLE_TENANT_VLANS=True | |
#TENANT_VLAN_RANGE=100:200 | |
# Simple GRE tunnel configuration -- overrides extra opts | |
ENABLE_TENANT_TUNNELS=True | |
[[post-config|/$Q_PLUGIN_CONF_FILE]] | |
[vxlan] | |
l2_population = True | |
enable_vxlan = True | |
local_ip = 172.16.1.1 | |
#[linux_bridge] | |
#l2_population=True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment