Dean Troyer | 0bd2410 | 2012-03-08 00:33:54 -0600 | [diff] [blame] | 1 | # Find the other rc files |
| 2 | RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd) |
| 3 | |
Chmouel Boudjnah | 8da5656 | 2012-03-09 14:21:40 +0000 | [diff] [blame] | 4 | # 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 Boudjnah | c4cd414 | 2012-06-27 11:01:40 +0200 | [diff] [blame] | 9 | # 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 Boudjnah | 8da5656 | 2012-03-09 14:21:40 +0000 | [diff] [blame] | 15 | ENABLED_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 Troyer | 67787e6 | 2012-05-02 11:48:15 -0500 | [diff] [blame] | 17 | # Set the default Nova APIs to enable |
| 18 | NOVA_ENABLED_APIS=ec2,osapi_compute,osapi_volume,metadata |
| 19 | |
| 20 | # volume service |
| 21 | CINDER_REPO=https://github.com/openstack/cinder |
| 22 | CINDER_BRANCH=master |
| 23 | |
| 24 | # volume client |
| 25 | CINDERCLIENT_REPO=https://github.com/openstack/python-cinderclient |
| 26 | CINDERCLIENT_BRANCH=master |
| 27 | |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 28 | # compute service |
Vishvananda Ishaya | e978e7f | 2011-11-14 10:55:47 -0800 | [diff] [blame] | 29 | NOVA_REPO=https://github.com/openstack/nova.git |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 30 | NOVA_BRANCH=master |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 31 | |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 32 | # storage service |
| 33 | SWIFT_REPO=https://github.com/openstack/swift.git |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 34 | SWIFT_BRANCH=master |
Joe Gordon | 42b1aa9 | 2012-05-24 14:11:01 -0700 | [diff] [blame] | 35 | SWIFT3_REPO=https://github.com/fujita/swift3.git |
| 36 | SWIFT3_BRANCH=master |
| 37 | |
Chmouel Boudjnah | 28fa4e8 | 2011-11-01 12:30:55 +0100 | [diff] [blame] | 38 | |
Chmouel Boudjnah | fda9df8 | 2012-05-22 10:27:08 +0000 | [diff] [blame] | 39 | # python swift client library |
| 40 | SWIFTCLIENT_REPO=https://github.com/openstack/python-swiftclient |
| 41 | SWIFTCLIENT_BRANCH=master |
| 42 | |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 43 | # image catalog service |
Vishvananda Ishaya | e978e7f | 2011-11-14 10:55:47 -0800 | [diff] [blame] | 44 | GLANCE_REPO=https://github.com/openstack/glance.git |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 45 | GLANCE_BRANCH=master |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 46 | |
Dean Troyer | 4549525 | 2012-04-13 13:16:38 -0500 | [diff] [blame] | 47 | # python glance client library |
| 48 | GLANCECLIENT_REPO=https://github.com/openstack/python-glanceclient |
| 49 | GLANCECLIENT_BRANCH=master |
| 50 | |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 51 | # unified auth system (manages accounts/tokens) |
Vishvananda Ishaya | 53284c8 | 2012-02-08 23:33:41 +0000 | [diff] [blame] | 52 | KEYSTONE_REPO=https://github.com/openstack/keystone.git |
Dean Troyer | 6a3f607 | 2012-02-16 16:31:24 -0600 | [diff] [blame] | 53 | KEYSTONE_BRANCH=master |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 54 | |
| 55 | # a websockets/html5 or flash powered VNC console for vm instances |
Anthony Young | 220d938 | 2012-05-04 10:19:44 -0700 | [diff] [blame] | 56 | NOVNC_REPO=https://github.com/kanaka/noVNC.git |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 57 | NOVNC_BRANCH=master |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 58 | |
| 59 | # django powered web control panel for openstack |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame] | 60 | HORIZON_REPO=https://github.com/openstack/horizon.git |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 61 | HORIZON_BRANCH=master |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 62 | |
Tres Henry | ca85b79 | 2011-10-28 14:00:21 -0700 | [diff] [blame] | 63 | # python client library to nova that horizon (and others) use |
Jesse Andrews | 38df122 | 2011-11-20 09:55:44 -0800 | [diff] [blame] | 64 | NOVACLIENT_REPO=https://github.com/openstack/python-novaclient.git |
Anthony Young | 248221a | 2011-09-27 11:25:18 -0700 | [diff] [blame] | 65 | NOVACLIENT_BRANCH=master |
Anthony Young | 096fb5a | 2011-09-26 13:14:46 -0700 | [diff] [blame] | 66 | |
Andrew Bogott | 77a4e3a | 2012-05-01 00:07:29 -0500 | [diff] [blame] | 67 | # Shared openstack python client library |
| 68 | OPENSTACKCLIENT_REPO=https://github.com/openstack/python-openstackclient.git |
| 69 | OPENSTACKCLIENT_BRANCH=master |
| 70 | |
Anthony Young | 52e631d | 2011-12-27 22:22:14 -0800 | [diff] [blame] | 71 | # python keystone client library to nova that horizon uses |
| 72 | KEYSTONECLIENT_REPO=https://github.com/openstack/python-keystoneclient |
| 73 | KEYSTONECLIENT_BRANCH=master |
| 74 | |
Brad Hall | 1bfa3d5 | 2011-10-27 18:18:20 -0700 | [diff] [blame] | 75 | # quantum service |
| 76 | QUANTUM_REPO=https://github.com/openstack/quantum |
Jesse Andrews | 9c7c908 | 2011-11-23 10:10:53 -0800 | [diff] [blame] | 77 | QUANTUM_BRANCH=master |
Brad Hall | 1bfa3d5 | 2011-10-27 18:18:20 -0700 | [diff] [blame] | 78 | |
Dave Lapsley | 5a09c92 | 2012-01-25 17:22:15 -0500 | [diff] [blame] | 79 | # quantum client |
| 80 | QUANTUM_CLIENT_REPO=https://github.com/openstack/python-quantumclient |
| 81 | QUANTUM_CLIENT_BRANCH=master |
| 82 | |
Dean Troyer | 608bb12 | 2012-01-10 14:43:17 -0600 | [diff] [blame] | 83 | # Tempest test suite |
| 84 | TEMPEST_REPO=https://github.com/openstack/tempest.git |
| 85 | TEMPEST_BRANCH=master |
Dean Troyer | b0e57cf | 2011-11-04 12:13:43 -0500 | [diff] [blame] | 86 | |
Jason Kölker | 64a9066 | 2012-01-23 11:17:27 -0600 | [diff] [blame] | 87 | # melange service |
| 88 | MELANGE_REPO=https://github.com/openstack/melange.git |
| 89 | MELANGE_BRANCH=master |
| 90 | |
| 91 | # python melange client library |
| 92 | MELANGECLIENT_REPO=https://github.com/openstack/python-melangeclient.git |
| 93 | MELANGECLIENT_BRANCH=master |
| 94 | |
Anthony Young | 120f486 | 2011-10-14 09:31:09 -0700 | [diff] [blame] | 95 | # Specify a comma-separated list of uec images to download and install into glance. |
Scott Moser | 4f6d7b6 | 2011-12-08 16:22:51 -0500 | [diff] [blame] | 96 | # 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ölker | 64a9066 | 2012-01-23 11:17:27 -0600 | [diff] [blame] | 105 | # example: |
Scott Moser | 4f6d7b6 | 2011-12-08 16:22:51 -0500 | [diff] [blame] | 106 | # 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 Moser | 3584e55 | 2011-12-08 16:23:27 -0500 | [diff] [blame] | 108 | #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 Moser | a368218 | 2011-12-16 10:29:10 -0500 | [diff] [blame] | 110 | case "$LIBVIRT_TYPE" in |
| 111 | lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc |
Dean Troyer | 83d475e | 2012-05-30 10:58:18 -0500 | [diff] [blame] | 112 | DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-rootfs |
Scott Moser | a368218 | 2011-12-16 10:29:10 -0500 | [diff] [blame] | 113 | 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 Troyer | 83d475e | 2012-05-30 10:58:18 -0500 | [diff] [blame] | 115 | DEFAULT_IMAGE_NAME=cirros-0.3.0-x86_64-uec |
Scott Moser | a368218 | 2011-12-16 10:29:10 -0500 | [diff] [blame] | 116 | IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz";; |
| 117 | esac |
Anthony Young | 0ab1d46 | 2011-10-13 23:03:23 -0700 | [diff] [blame] | 118 | |
Anthony Young | eb5dea6 | 2011-09-28 15:24:57 -0700 | [diff] [blame] | 119 | # allow local overrides of env variables |
Dean Troyer | 0bd2410 | 2012-03-08 00:33:54 -0600 | [diff] [blame] | 120 | if [ -f $RC_DIR/localrc ]; then |
| 121 | source $RC_DIR/localrc |
Anthony Young | eb5dea6 | 2011-09-28 15:24:57 -0700 | [diff] [blame] | 122 | fi |
Eoghan Glynn | 9cb1776 | 2012-07-15 10:22:45 +0100 | [diff] [blame^] | 123 | |
| 124 | # 5Gb default volume backing file size |
| 125 | VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-5130M} |