stackrc
4a43b7bd
 # stackrc
 #
0bd2410d
 # Find the other rc files
 RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
 
1214d9d0
 # Destination path for installation
 DEST=/opt/stack
 
c83a7e12
 # Destination for working data
 DATA_DIR=${DEST}/data
 
c1b486a5
 # Select the default database
 DATABASE_TYPE=mysql
 
91b8d13e
 # Default stack user
 DEFAULT_STACK_USER=stack
 
8da5656f
 # Specify which services to launch.  These generally correspond to
4a43b7bd
 # screen tabs. To change the default list, use the ``enable_service`` and
 # ``disable_service`` functions in ``localrc``.
 # For example, to enable Swift add this to ``localrc``:
 # enable_service swift
77f076a5
 ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPE
8da5656f
 
67787e6b
 # Set the default Nova APIs to enable
6e7e1c94
 NOVA_ENABLED_APIS=ec2,osapi_compute,metadata
67787e6b
 
4a43b7bd
 # Repositories
 # ------------
 
d5b18ecb
 # Base GIT Repo URL
 # Another option is http://review.openstack.org/p
 GIT_BASE=https://github.com
 
93361643
 # metering service
af5cd77e
 CEILOMETER_REPO=${GIT_BASE}/openstack/ceilometer.git
93361643
 CEILOMETER_BRANCH=master
 
e583d9b8
 # ceilometer client library
 CEILOMETERCLIENT_REPO=${GIT_BASE}/openstack/python-ceilometerclient
 CEILOMETERCLIENT_BRANCH=master
 
67787e6b
 # volume service
d5b18ecb
 CINDER_REPO=${GIT_BASE}/openstack/cinder
67787e6b
 CINDER_BRANCH=master
 
 # volume client
d5b18ecb
 CINDERCLIENT_REPO=${GIT_BASE}/openstack/python-cinderclient
67787e6b
 CINDERCLIENT_BRANCH=master
 
096fb5a8
 # compute service
d5b18ecb
 NOVA_REPO=${GIT_BASE}/openstack/nova.git
9c7c9083
 NOVA_BRANCH=master
096fb5a8
 
28fa4e8d
 # storage service
d5b18ecb
 SWIFT_REPO=${GIT_BASE}/openstack/swift.git
9c7c9083
 SWIFT_BRANCH=master
42b1aa9c
 SWIFT3_REPO=https://github.com/fujita/swift3.git
 SWIFT3_BRANCH=master
 
fda9df87
 # python swift client library
d5b18ecb
 SWIFTCLIENT_REPO=${GIT_BASE}/openstack/python-swiftclient
fda9df87
 SWIFTCLIENT_BRANCH=master
 
096fb5a8
 # image catalog service
d5b18ecb
 GLANCE_REPO=${GIT_BASE}/openstack/glance.git
9c7c9083
 GLANCE_BRANCH=master
096fb5a8
 
45495258
 # python glance client library
d5b18ecb
 GLANCECLIENT_REPO=${GIT_BASE}/openstack/python-glanceclient
45495258
 GLANCECLIENT_BRANCH=master
 
096fb5a8
 # unified auth system (manages accounts/tokens)
d5b18ecb
 KEYSTONE_REPO=${GIT_BASE}/openstack/keystone.git
6a3f6072
 KEYSTONE_BRANCH=master
096fb5a8
 
 # a websockets/html5 or flash powered VNC console for vm instances
220d9384
 NOVNC_REPO=https://github.com/kanaka/noVNC.git
9c7c9083
 NOVNC_BRANCH=master
096fb5a8
 
 # django powered web control panel for openstack
d5b18ecb
 HORIZON_REPO=${GIT_BASE}/openstack/horizon.git
9c7c9083
 HORIZON_BRANCH=master
096fb5a8
 
ca85b799
 # python client library to nova that horizon (and others) use
d5b18ecb
 NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
248221a4
 NOVACLIENT_BRANCH=master
096fb5a8
 
9f61d29e
 # consolidated openstack python client
 OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git
 OPENSTACKCLIENT_BRANCH=master
 
52e631d8
 # python keystone client library to nova that horizon uses
d5b18ecb
 KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
52e631d8
 KEYSTONECLIENT_BRANCH=master
 
1bfa3d53
 # quantum service
d5b18ecb
 QUANTUM_REPO=${GIT_BASE}/openstack/quantum
9c7c9083
 QUANTUM_BRANCH=master
1bfa3d53
 
5a09c922
 # quantum client
60e9c0ab
 QUANTUMCLIENT_REPO=${GIT_BASE}/openstack/python-quantumclient
 QUANTUMCLIENT_BRANCH=master
5a09c922
 
608bb12a
 # Tempest test suite
d5b18ecb
 TEMPEST_REPO=${GIT_BASE}/openstack/tempest.git
608bb12a
 TEMPEST_BRANCH=master
b0e57cf3
 
bfdad75e
 # heat service
9a27dd8d
 HEAT_REPO=${GIT_BASE}/openstack/heat.git
bfdad75e
 HEAT_BRANCH=master
 
32761a49
 # python heat client library
 HEATCLIENT_REPO=${GIT_BASE}/heat-api/python-heatclient.git
 HEATCLIENT_BRANCH=master
 
602cf9bd
 # ryu service
 RYU_REPO=https://github.com/osrg/ryu.git
 RYU_BRANCH=master
 
f35cf91a
 # diskimage-builder
 BM_IMAGE_BUILD_REPO=https://github.com/stackforge/diskimage-builder.git
 BM_IMAGE_BUILD_BRANCH=master
 
7611c894
 # bm_poseur
 # Used to simulate a hardware environment for baremetal
 # Only used if BM_USE_FAKE_ENV is set
 BM_POSEUR_REPO=https://github.com/tripleo/bm_poseur.git
 BM_POSEUR_BRANCH=master
 
 
c0c6f006
 # Nova hypervisor configuration.  We default to libvirt with **kvm** but will
 # drop back to **qemu** if we are unable to load the kvm module.  ``stack.sh`` can
 # also install an **LXC** or **OpenVZ** based system.
 VIRT_DRIVER=${VIRT_DRIVER:-libvirt}
 LIBVIRT_TYPE=${LIBVIRT_TYPE:-kvm}
 
 # allow local overrides of env variables
 if [ -f $RC_DIR/localrc ]; then
     source $RC_DIR/localrc
 fi
 
4a43b7bd
 # Specify a comma-separated list of UEC images to download and install into glance.
4f6d7b61
 # supported urls here are:
 #  * "uec-style" images:
 #     If the file ends in .tar.gz, uncompress the tarball and and select the first
 #     .img file inside it as the image.  If present, use "*-vmlinuz*" as the kernel
 #     and "*-initrd*" as the ramdisk
 #     example: http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64.tar.gz
 #  * disk image (*.img,*.img.gz)
 #    if file ends in .img, then it will be uploaded and registered as a to
 #    glance as a disk image.  If it ends in .gz, it is uncompressed first.
64a90660
 #    example:
4f6d7b61
 #      http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-armel-disk1.img
 #      http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz
4a43b7bd
 #  * OpenVZ image:
 #    OpenVZ uses its own format of image, and does not support UEC style images
 
3584e555
 #IMAGE_URLS="http://smoser.brickies.net/ubuntu/ttylinux-uec/ttylinux-uec-amd64-11.2_2.6.35-15_1.tar.gz" # old ttylinux-uec image
 #IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image
4a43b7bd
 
 # Set default image based on ``VIRT_DRIVER`` and ``LIBVIRT_TYPE``, either of
fda946e3
 # which may be set in ``localrc``.  Also allow ``DEFAULT_IMAGE_NAME`` and
4a43b7bd
 # ``IMAGE_URLS`` to be set directly in ``localrc``.
c0c6f006
 case "$VIRT_DRIVER" in
fda946e3
     openvz)
c0c6f006
         DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-ubuntu-11.10-x86_64}
         IMAGE_URLS=${IMAGE_URLS:-"http://download.openvz.org/template/precreated/ubuntu-11.10-x86_64.tar.gz"};;
     libvirt)
         case "$LIBVIRT_TYPE" in
             lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
                 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.0-x86_64-rootfs}
                 IMAGE_URLS=${IMAGE_URLS:-"http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz"};;
             *) # otherwise, use the uec style image (with kernel, ramdisk, disk)
                 DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.0-x86_64-uec}
                 IMAGE_URLS=${IMAGE_URLS:-"http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz"};;
         esac
         ;;
     *) # otherwise, use the uec style image (with kernel, ramdisk, disk)
         DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.0-x86_64-uec}
         IMAGE_URLS=${IMAGE_URLS:-"http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz"};;
a368218a
 esac
0ab1d46e
 
9cb1776a
 # 5Gb default volume backing file size
 VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-5130M}
fda946e3
 
 PRIVATE_NETWORK_NAME=${PRIVATE_NETWORK_NAME:-"private"}
 PUBLIC_NETWORK_NAME=${PUBLIC_NETWORK_NAME:-"nova"}