summaryrefslogtreecommitdiffstats
path: root/etc/conf/bottlenecks_config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/conf/bottlenecks_config.yml')
-rw-r--r--etc/conf/bottlenecks_config.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/etc/conf/bottlenecks_config.yml b/etc/conf/bottlenecks_config.yml
new file mode 100644
index 00000000..f33e50f1
--- /dev/null
+++ b/etc/conf/bottlenecks_config.yml
@@ -0,0 +1,33 @@
+---
+bottlenecks:
+ image_name: opnfv/bottlenecks
+ docker_tag: stable
+ opts: '-id --privileged=true'
+ config:
+ dir: '/home/opnfv/userconfig'
+ pre_condition:
+ - 'source /tmp/admin_rc.sh &&
+ (openstack --insecure image list | grep cirros-0.3.5 ||
+ openstack --insecure image create cirros-0.3.5
+ --disk-format qcow2 --container-format bare
+ --file /home/opnfv/userconfig/pre_config/cirros-0.3.5-x86_64-disk.img)'
+ - 'source /tmp/admin_rc.sh &&
+ (openstack --insecure flavor list | grep yardstick-flavor ||
+ openstack --insecure flavor create --id 100
+ --ram 1024 --disk 3 --vcpus 1 yardstick-flavor)'
+ cmds:
+ - 'python /home/opnfv/bottlenecks/testsuites/run_testsuite.py testcase {{validate_testcase}} True'
+ post_condition:
+ - 'source /tmp/admin_rc.sh &&
+ (! openstack --insecure image list | grep cirros-0.3.5 ||
+ openstack --insecure image delete cirros-0.3.5)'
+ - 'source /tmp/admin_rc.sh &&
+ (! openstack --insecure flavor list | grep yardstick-flavor ||
+ openstack --insecure flavor delete yardstick-flavor)'
+ result:
+ dir: '/tmp'
+ file_path: 'bottlenecks.log'
+ openrc: '/tmp/admin_rc.sh'
+ extra_container:
+ - 'Bottlenecks-Yardstick'
+ - 'Bottlenecks-ELK'