Skip to content

Instantly share code, notes, and snippets.

@amotoki
Last active Dec 21, 2015
Embed
What would you like to do?
devstack stable/grizzly localrc with Neutron OVS plugin as controller node
# -*- mode: bash -*-
#-----------------------------
# Common congigurations
#-----------------------------
CFGDIR=$HOME/tool/config
source $CFGDIR/01-proxy
source $CFGDIR/02-repos
source $CFGDIR/10-local
#disable_service cinder c-sch c-api c-vol
#disable_service tempest
#disable_service horizon
#enable_service heat h-api h-api-cfn h-api-cw h-eng
#enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api
KEYSTONE_TOKEN_FORMAT=UUID
PRIVATE_NETWORK_NAME=net1
PUBLIC_NETWORK_NAME=ext_net
# For VPNaaS
#FIXED_RANGE=10.2.0.0/24
#FIXED_NETWORK_SIZE=256
#NETWORK_GATEWAY=10.2.0.1
#PUBLIC_NETWORK_GATEWAY=172.24.4.232
#Q_FLOATING_ALLOCATION_POOL=start=172.24.4.233,end=172.24.4.238
#-----------------------------
# Neutron
#-----------------------------
disable_service n-net
enable_service neutron q-svc q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-lbaas
#enable_service q-vpn
#LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver
#NOVA_VIF_DRIVER=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
Q_PLUGIN=openvswitch
#Q_PLUGIN=linuxbridge
#Q_USE_NAMESPACE=False
#Q_USE_SECGROUP=True
#Q_USE_DEBUG_COMMAND=True
ENABLE_TENANT_VLANS=True
#TENANT_VLAN_RANGE=1000:1999
#PHYSICAL_NETWORK=physnet1
#OVS_PHYSICAL_BRIDGE=br-eth1
OVS_BRIDGE_MAPPINGS=physnet1:br-eth1,physnet2:br-eth2
OVS_VLAN_RANGES=physnet1:1000:1999,physnet2:2000:2999
#Q_PLUGIN=nec
#enable_service trema
#GRE_REMOTE_IPS=10.56.51.252:10.56.51.210:10.56.51.153
#GRE_LOCAL_IP=10.56.51.252
#OVS_INTERFACE=eth1
#OFC_DRIVER=trema
#OFC_OFP_HOST=127.0.0.1
#-----------------------------
# Devstack configurations
#-----------------------------
LOGDIR=$DEST/logs
SCREEN_LOGDIR=$LOGDIR
SCREEN_HARDSTATUS="%{= rw} %H %{= wk} %L=%-w%{= bw}%30L> %n%f %t*%{= wk}%+Lw%-17< %-=%{= gk} %y/%m /%d %c"
LOGFILE=$LOGDIR/devstack.log
LOG_COLOR=False
ADMIN_PASSWORD=pass
MYSQL_PASSWORD=stackdb
RABBIT_PASSWORD=stackqueue
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=xyzpdqlazydog
#OFFLINE=True
#RECLONE=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment