summaryrefslogtreecommitdiffstats
path: root/etc/conf/bottlenecks_config.yml
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-01 20:03:59 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-06 09:16:43 +0800
commitb25c1371f82911ea26b8c893b6612bb5ae0c8c19 (patch)
tree91190d32b9bb723670214b4d91e0bb95cccf5382 /etc/conf/bottlenecks_config.yml
parentc308b9a718b8b4fc5e781f8d2a6dbe714e381834 (diff)
leverage data_files to eliminate so many hardcoded abs_path_seekings
1. mv conf/ userconfig/ compliance/ patch to etc/ 2. after installation etc/ will be put under /etc/dovetail 3. leveraging /etc/dovetail in coding Change-Id: Icf9cb00ff7fc7cf35755f60d3e258b23e2c70839 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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'