aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
authorVu Tran <vu.tran@windriver.com>2014-07-10 13:48:15 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-17 00:14:05 -0400
commit362dd9c1793f8d50fc4255205b0a7ae34e72f3fa (patch)
tree5908e48003c32eb12d275e1c222e61b8a4000c21 /meta-openstack
parent41db8eb7ca31800e04c996fe943ecdaf632cfa0f (diff)
downloadmeta-cloud-services-362dd9c1793f8d50fc4255205b0a7ae34e72f3fa.tar.gz
meta-cloud-services-362dd9c1793f8d50fc4255205b0a7ae34e72f3fa.tar.bz2
meta-cloud-services-362dd9c1793f8d50fc4255205b0a7ae34e72f3fa.zip
introduce benchmarking packagegroup
Create new benchmarking packagegroup bb. Benchmarking packagegroup can be included into final image to include all required packages for benchmarking OpenStack at scale. Currently OpenStack benchmarking is provided by OpenStack component Rally. Also introducing new Yocto variable OPENSTACK_EXTRA_FEATURES which can be used to inform what feature should be included in meta-cloud-services OpenStack final image. To include benchmarking packagegroup in local.conf have OPENSTACK_EXTRA_FEATURES += " benchmarking" Signed-off-by: Vu Tran <vu.tran@windriver.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-extended/images/openstack-image-controller.bb1
-rw-r--r--meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-benchmarking.bb15
2 files changed, 16 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/images/openstack-image-controller.bb b/meta-openstack/recipes-extended/images/openstack-image-controller.bb
index 75aa735..36b5b7a 100644
--- a/meta-openstack/recipes-extended/images/openstack-image-controller.bb
+++ b/meta-openstack/recipes-extended/images/openstack-image-controller.bb
@@ -11,6 +11,7 @@ IMAGE_INSTALL = "\
packagegroup-cloud-network \
packagegroup-cloud-debug \
packagegroup-cloud-extras \
+ ${@base_contains('OPENSTACK_EXTRA_FEATURES', 'benchmarking', 'packagegroup-cloud-benchmarking', '', d)} \
${OPENSTACK_CONTROLLER_EXTRA_INSTALL} \
"
diff --git a/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-benchmarking.bb b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-benchmarking.bb
new file mode 100644
index 0000000..46f18fb
--- /dev/null
+++ b/meta-openstack/recipes-extended/packagegroups/packagegroup-cloud-benchmarking.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Add benchmarking capabilities to cloud images"
+PR = "r0"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+RDEPENDS_${PN} = " \
+ tempest \
+ rally-api \
+ rally-setup \
+ rally-tests \
+ cirros-guest-image \
+ "