Advertisement
savemanos

Devstack stackrc controller

May 26th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1. # Find the other rc files
  2. RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
  3.  
  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:
  9. # ENABLED_SERVICES="$ENABLED_SERVICES,swift"
  10. 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
  11.  
  12. # compute service
  13. NOVA_REPO=https://github.com/openstack/nova.git
  14. NOVA_BRANCH=master
  15.  
  16. # storage service
  17. SWIFT_REPO=https://github.com/openstack/swift.git
  18. SWIFT_BRANCH=master
  19.  
  20. # image catalog service
  21. GLANCE_REPO=https://github.com/openstack/glance.git
  22. GLANCE_BRANCH=master
  23.  
  24. # python glance client library
  25. GLANCECLIENT_REPO=https://github.com/openstack/python-glanceclient
  26. GLANCECLIENT_BRANCH=master
  27.  
  28. # unified auth system (manages accounts/tokens)
  29. KEYSTONE_REPO=https://github.com/openstack/keystone.git
  30. KEYSTONE_BRANCH=master
  31.  
  32. # a websockets/html5 or flash powered VNC console for vm instances
  33. NOVNC_REPO=https://github.com/kanaka/noVNC.git
  34. NOVNC_BRANCH=master
  35.  
  36. # django powered web control panel for openstack
  37. HORIZON_REPO=https://github.com/openstack/horizon.git
  38. HORIZON_BRANCH=master
  39.  
  40. # python client library to nova that horizon (and others) use
  41. NOVACLIENT_REPO=https://github.com/openstack/python-novaclient.git
  42. NOVACLIENT_BRANCH=master
  43.  
  44. # Shared openstack python client library
  45. OPENSTACKCLIENT_REPO=https://github.com/openstack/python-openstackclient.git
  46. OPENSTACKCLIENT_BRANCH=master
  47.  
  48. # python keystone client library to nova that horizon uses
  49. KEYSTONECLIENT_REPO=https://github.com/openstack/python-keystoneclient
  50. KEYSTONECLIENT_BRANCH=master
  51.  
  52. # quantum service
  53. QUANTUM_REPO=https://github.com/openstack/quantum
  54. QUANTUM_BRANCH=master
  55.  
  56. # quantum client
  57. QUANTUM_CLIENT_REPO=https://github.com/openstack/python-quantumclient
  58. QUANTUM_CLIENT_BRANCH=master
  59.  
  60. # Tempest test suite
  61. TEMPEST_REPO=https://github.com/openstack/tempest.git
  62. TEMPEST_BRANCH=master
  63.  
  64. # melange service
  65. MELANGE_REPO=https://github.com/openstack/melange.git
  66. MELANGE_BRANCH=master
  67.  
  68. # python melange client library
  69. MELANGECLIENT_REPO=https://github.com/openstack/python-melangeclient.git
  70. MELANGECLIENT_BRANCH=master
  71.  
  72. # Specify a comma-separated list of uec images to download and install into glance.
  73. # supported urls here are:
  74. # * "uec-style" images:
  75. # If the file ends in .tar.gz, uncompress the tarball and and select the first
  76. # .img file inside it as the image. If present, use "*-vmlinuz*" as the kernel
  77. # and "*-initrd*" as the ramdisk
  78. # example: http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64.tar.gz
  79. # * disk image (*.img,*.img.gz)
  80. # if file ends in .img, then it will be uploaded and registered as a to
  81. # glance as a disk image. If it ends in .gz, it is uncompressed first.
  82. # example:
  83. # http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-armel-disk1.img
  84. # http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz
  85. #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
  86. #IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img" # cirros full disk image
  87. case "$LIBVIRT_TYPE" in
  88. lxc) # the cirros root disk in the uec tarball is empty, so it will not work for lxc
  89. IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz";;
  90. *) # otherwise, use the uec style image (with kernel, ramdisk, disk)
  91. IMAGE_URLS="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz";;
  92. esac
  93.  
  94. # allow local overrides of env variables
  95. if [ -f $RC_DIR/localrc ]; then
  96. source $RC_DIR/localrc
  97. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement