blob: badde686686bbb3d5337e3ddfe70df5f3622de78 [file] [log] [blame]
Dean Troyer0bd24102012-03-08 00:33:54 -06001# Find the other rc files
2RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
3
Chmouel Boudjnah8da56562012-03-09 14:21:40 +00004# Specify which services to launch. These generally correspond to
5# screen tabs. If you like to add other services that are not enabled
6# by default you can append them in your ENABLED_SERVICES variable in
7# your localrc. For example for swift you can just add this in your
8# localrc to add it with the other services:
Chmouel Boudjnahc4cd4142012-06-27 11:01:40 +02009# ENABLED_SERVICES+=,swift
10#
11# If you like to explicitly remove services you can add a -$service in
12# ENABLED_SERVICES, for example in your localrc to install all defaults but not
13# nova-volume you would just need to set this :
14# ENABLED_SERVICES+=,-n-vol
Chmouel Boudjnah8da56562012-03-09 14:21:40 +000015ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit
16
Dean Troyer67787e62012-05-02 11:48:15 -050017# Set the default Nova APIs to enable
18NOVA_ENABLED_APIS=ec2,osapi_compute,osapi_volume,metadata
19
20# volume service
21CINDER_REPO=https://github.com/openstack/cinder
22CINDER_BRANCH=master
23
24# volume client
25CINDERCLIENT_REPO=https://github.com/openstack/python-cinderclient
26CINDERCLIENT_BRANCH=master
27
Anthony Young096fb5a2011-09-26 13:14:46 -070028# compute service
Vishvananda Ishayae978e7f2011-11-14 10:55:47 -080029NOVA_REPO=https://github.com/openstack/nova.git
Jesse Andrews9c7c9082011-11-23 10:10:53 -080030NOVA_BRANCH=master
Anthony Young096fb5a2011-09-26 13:14:46 -070031
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010032# storage service
33SWIFT_REPO=https://github.com/openstack/swift.git
Jesse Andrews9c7c9082011-11-23 10:10:53 -080034SWIFT_BRANCH=master
Joe Gordon42b1aa92012-05-24 14:11:01 -070035SWIFT3_REPO=https://github.com/fujita/swift3.git
36SWIFT3_BRANCH=master
37
Chmouel Boudjnah28fa4e82011-11-01 12:30:55 +010038
Chmouel Boudjnahfda9df82012-05-22 10:27:08 +000039# python swift client library
40SWIFTCLIENT_REPO=https://github.com/openstack/python-swiftclient
41SWIFTCLIENT_BRANCH=master
42
Anthony Young096fb5a2011-09-26 13:14:46 -070043# image catalog service
Vishvananda Ishayae978e7f2011-11-14 10:55:47 -080044GLANCE_REPO=https://github.com/openstack/glance.git
Jesse Andrews9c7c9082011-11-23 10:10:53 -080045GLANCE_BRANCH=master
Anthony Young096fb5a2011-09-26 13:14:46 -070046
Dean Troyer45495252012-04-13 13:16:38 -050047# python glance client library
48GLANCECLIENT_REPO=https://github.com/openstack/python-glanceclient
49GLANCECLIENT_BRANCH=master
50
Anthony Young096fb5a2011-09-26 13:14:46 -070051# unified auth system (manages accounts/tokens)
Vishvananda Ishaya53284c82012-02-08 23:33:41 +000052KEYSTONE_REPO=https://github.com/openstack/keystone.git
Dean Troyer6a3f6072012-02-16 16:31:24 -060053KEYSTONE_BRANCH=master
Anthony Young096fb5a2011-09-26 13:14:46 -070054
55# a websockets/html5 or flash powered VNC console for vm instances
Anthony Young220d9382012-05-04 10:19:44 -070056NOVNC_REPO=https://github.com/kanaka/noVNC.git
Jesse Andrews9c7c9082011-11-23 10:10:53 -080057NOVNC_BRANCH=master
Anthony Young096fb5a2011-09-26 13:14:46 -070058
59# django powered web control panel for openstack
Tres Henryca85b792011-10-28 14:00:21 -070060HORIZON_REPO=https://github.com/openstack/horizon.git
Jesse Andrews9c7c9082011-11-23 10:10:53 -080061HORIZON_BRANCH=master
Anthony Young096fb5a2011-09-26 13:14:46 -070062
Tres Henryca85b792011-10-28 14:00:21 -070063# python client library to nova that horizon (and others) use
Jesse Andrews38df1222011-11-20 09:55:44 -080064NOVACLIENT_REPO=https://github.com/openstack/python-novaclient.git
Anthony Young248221a2011-09-27 11:25:18 -070065NOVACLIENT_BRANCH=master
Anthony Young096fb5a2011-09-26 13:14:46 -070066
Andrew Bogott77a4e3a2012-05-01 00:07:29 -050067# Shared openstack python client library
68OPENSTACKCLIENT_REPO=https://github.com/openstack/python-openstackclient.git
69OPENSTACKCLIENT_BRANCH=master
70
Anthony Young52e631d2011-12-27 22:22:14 -080071# python keystone client library to nova that horizon uses
72KEYSTONECLIENT_REPO=https://github.com/openstack/python-keystoneclient
73KEYSTONECLIENT_BRANCH=master
74
Brad Hall1bfa3d52011-10-27 18:18:20 -070075# quantum service
76QUANTUM_REPO=https://github.com/openstack/quantum
Jesse Andrews9c7c9082011-11-23 10:10:53 -080077QUANTUM_BRANCH=master
Brad Hall1bfa3d52011-10-27 18:18:20 -070078
Dave Lapsley5a09c922012-01-25 17:22:15 -050079# quantum client
80QUANTUM_CLIENT_REPO=https://github.com/openstack/python-quantumclient
81QUANTUM_CLIENT_BRANCH=master
82
Dean Troyer608bb122012-01-10 14:43:17 -060083# Tempest test suite
84TEMPEST_REPO=https://github.com/openstack/tempest.git
85TEMPEST_BRANCH=master
Dean Troyerb0e57cf2011-11-04 12:13:43 -050086
Jason Kölker64a90662012-01-23 11:17:27 -060087# melange service
88MELANGE_REPO=https://github.com/openstack/melange.git
89MELANGE_BRANCH=master
90
91# python melange client library
92MELANGECLIENT_REPO=https://github.com/openstack/python-melangeclient.git
93MELANGECLIENT_BRANCH=master
94
Anthony Young120f4862011-10-14 09:31:09 -070095# Specify a comma-separated list of uec images to download and install into glance.
Scott Moser4f6d7b62011-12-08 16:22:51 -050096# supported urls here are:
97# * "uec-style" images:
98# If the file ends in .tar.gz, uncompress the tarball and and select the first
99# .img file inside it as the image. If present, use "*-vmlinuz*" as the kernel
100# and "*-initrd*" as the ramdisk
101# example: http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64.tar.gz
102# * disk image (*.img,*.img.gz)
103# if file ends in .img, then it will be uploaded and registered as a to
104# glance as a disk image. If it ends in .gz, it is uncompressed first.
Jason Kölker64a90662012-01-23 11:17:27 -0600105# example:
Scott Moser4f6d7b62011-12-08 16:22:51 -0500106# http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-armel-disk1.img
107# http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz
Scott Moser3584e552011-12-08 16:23:27 -0500108#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
109#IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image
Scott Mosera3682182011-12-16 10:29:10 -0500110case "$LIBVIRT_TYPE" in
111 lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
Dean Troyer83d475e2012-05-30 10:58:18 -0500112 DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-rootfs
Scott Mosera3682182011-12-16 10:29:10 -0500113 IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz";;
114 *) # otherwise, use the uec style image (with kernel, ramdisk, disk)
Dean Troyer83d475e2012-05-30 10:58:18 -0500115 DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-uec
Scott Mosera3682182011-12-16 10:29:10 -0500116 IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz";;
117esac
Anthony Young0ab1d462011-10-13 23:03:23 -0700118
Anthony Youngeb5dea62011-09-28 15:24:57 -0700119# allow local overrides of env variables
Dean Troyer0bd24102012-03-08 00:33:54 -0600120if [ -f $RC_DIR/localrc ]; then
121 source $RC_DIR/localrc
Anthony Youngeb5dea62011-09-28 15:24:57 -0700122fi
Eoghan Glynn9cb17762012-07-15 10:22:45 +0100123
124# 5Gb default volume backing file size
125VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-5130M}