aboutsummaryrefslogtreecommitdiffstats
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:12:13 -0400
commit7550843c5be8063ce6cc147bf3efa19d10c92660 (patch)
tree1461f762653b2d7b5fd534da04092dee8511abdf
parentac22bcdf86fa6d687ed9421c0de39cb131e0c62d (diff)
downloadmeta-cloud-services-7550843c5be8063ce6cc147bf3efa19d10c92660.tar.gz
meta-cloud-services-7550843c5be8063ce6cc147bf3efa19d10c92660.tar.bz2
meta-cloud-services-7550843c5be8063ce6cc147bf3efa19d10c92660.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>
-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 \
+ "