summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/testcase/ha.neutron_l3_agent.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/etc/testcase/ha.neutron_l3_agent.yml b/etc/testcase/ha.neutron_l3_agent.yml
index f5170d4f..a4daad7e 100644
--- a/etc/testcase/ha.neutron_l3_agent.yml
+++ b/etc/testcase/ha.neutron_l3_agent.yml
@@ -6,17 +6,21 @@ dovetail.ha.neutron_l3_agent:
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/images/cirros-0.4.0-x86_64-disk.img'
+ - 'source /etc/yardstick/openstack.creds &&
+ openstack --insecure image create neutron-l3-agent_ha_image
+ --disk-format qcow2 --container-format bare --public
+ --file /home/opnfv/userconfig/images/cirros-0.4.0-x86_64-disk.img &&
+ openstack --insecure flavor create --ram 512 --vcpu 1 --disk 1 neutron-l3-agent_ha_flavor'
cmds:
- "cd /home/opnfv/repos/yardstick && source /etc/yardstick/openstack.creds &&
yardstick task start tests/opnfv/test_cases/{{validate_testcase}}.yaml
--output-file /tmp/yardstick/{{testcase}}.out
--task-args '{'file': '/home/opnfv/userconfig/pre_config/pod.yaml',
- 'image': 'cirros-ha-11', 'flavor': 'm1.tiny'}'"
+ 'image': 'neutron-l3-agent_ha_image', 'flavor': 'neutron-l3-agent_ha_flavor'}'"
post_condition:
- - 'source /etc/yardstick/openstack.creds && openstack --insecure image delete cirros-ha-11'
+ - 'source /etc/yardstick/openstack.creds &&
+ openstack --insecure image delete neutron-l3-agent_ha_image &&
+ openstack --insecure flavor delete neutron-l3-agent_ha_flavor'
report:
source_archive_files:
- yardstick.log