# 仅安装 keystone neutron,用于调试neutron

[[local|localrc]]

SKIP_EPEL_INSTALL=True

# PIP_GET_PIP_URL="http://local_ip/get-pip.py"

DOWNLOAD_DEFAULT_IMAGES=False
# IMAGE_URLS="http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
IMAGE_URLS="http://p_w_picpaths.trystack.cn/cirros/cirros-0.3.4-x86_64-disk.img"

# GIT_BASE=https://github.com
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git

TROVE_REPO=${GIT_BASE}/openstack/trove.git
TROVE_BRANCH=stable/newton
#enable_plugin trove $TROVE_REPO $TROVE_BRANCH
 
ADMIN_PASSWORD=root
 
DATABASE_PASSWORD=$ADMIN_PASSWORD
 
RABBIT_PASSWORD=$ADMIN_PASSWORD
 
SERVICE_PASSWORD=$ADMIN_PASSWORD
 
SERVICE_TOKEN=super-secret-admin-token
 
VIRT_DRIVER=libvirt
LIBVIRT_TYPE=qemu
 
DEST=/opt/stack
 
SERVICE_DIR=$DEST/status
 
DATA_DIR=$DEST/data
 
LOGFILE=$DEST/logs/stack.sh.log
 
LOGDIR=$DEST/logs
 
# The default fixed range (10.0.0.0/24) conflicted with an address
 
# range I was using locally.
 
FIXED_RANGE=172.254.1.0/24
 
NETWORK_GATEWAY=172.254.1.1
 
# Services
 
disable_service n-net
 
enable_service q-svc q-agt q-dhcp q-l3 q-meta # enable neutron
 
enable_service horizon

disable_service trove tr-api tr-tmgr tr-cond
 
disable_service tempest

disable_service glance g-api g-reg # disable glance
disable_service cinder c-api c-sch c-vol # disable cinder
disable_service nova n-api n-crt n-obj n-cpu n-cond n-cauth n-sch n-novnc # disable nova
 
## Introduce glance to docker p_w_picpaths
 
# [[post-config|$GLANCE_API_CONF]]
 
# [DEFAULT]
 
# container_formats=ami,ari,aki,bare,ovf,ova,docker
 
## Configure nova to use the nova-docker driver
 
# [[post-config|$NOVA_CONF]]
 
# [DEFAULT]
 
# compute_driver=novadocker.virt.docker.DockerDriver