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 compute node
# -*- mode: bash -*-
#-----------------------------
# Common congigurations
#-----------------------------
CFGDIR=$HOME/tool/config
source $CFGDIR/01-proxy
source $CFGDIR/02-repos
source $CFGDIR/10-local
CC_HOST=10.56.51.144
MYSQL_HOST=${CC_HOST}
SERVICE_HOST=${CC_HOST}
RABBIT_HOST=${CC_HOST}
Q_HOST=${CC_HOST}
# IP address of Management network
HOST_IP=$(get_host_ip)
ENABLED_SERVICES=n-cpu,rabbit
#disable_service cinder c-sch c-api c-vol
# VNC
enable_service n-novnc
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
VNCSERVER_LISTEN=$HOST_IP
#-----------------------------
# Neutron
#-----------------------------
enable_service q-agt
#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
#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_OFP_HOST=${CC_HOST}
#-----------------------------
# 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