summaryrefslogtreecommitdiffstats
path: root/etc/testcase/ha.tc011.yml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/testcase/ha.tc011.yml')
-rw-r--r--etc/testcase/ha.tc011.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/testcase/ha.tc011.yml b/etc/testcase/ha.tc011.yml
new file mode 100644
index 00000000..d1268826
--- /dev/null
+++ b/etc/testcase/ha.tc011.yml
@@ -0,0 +1,22 @@
+---
+dovetail.ha.tc011:
+ name: dovetail.ha.tc011
+ objective: > # OpenStack Controller Virtual Router Service High Availability.
+ validate:
+ type: yardstick
+ testcase: opnfv_yardstick_tc058
+ pre_condition:
+ - 'source /etc/yardstick/openstack.creds && openstack --insecure image create cirros-ha-11
+ --disk-format qcow2 --container-format bare --public
+ --file /home/opnfv/userconfig/pre_config/cirros-0.3.5-x86_64-disk.img'
+ cmds:
+ - 'mkdir -p /home/opnfv/yardstick/results/'
+ - "cd /home/opnfv/repos/yardstick && source /etc/yardstick/openstack.creds &&
+ yardstick task start tests/opnfv/test_cases/{{validate_testcase}}.yaml
+ --output-file /home/opnfv/yardstick/results/{{testcase}}.out
+ --task-args '{'file': '/home/opnfv/userconfig/pre_config/pod.yaml',
+ 'image': 'cirros-ha-11', 'flavor': 'm1.tiny'}'"
+ post_condition:
+ - 'source /etc/yardstick/openstack.creds && openstack --insecure image delete cirros-ha-11'
+ report:
+ sub_testcase_list: