diff options
author | xudan <xudan16@huawei.com> | 2018-12-20 01:49:22 -0500 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2018-12-20 21:57:03 -0500 |
commit | 78b0062ce9dc4d23b967112a0896f12cc6526e1c (patch) | |
tree | 9709b51d30bf87a1b2458f118d90cd1b2610e53c /etc/testcase/yardstick.ha.neutron_l3_agent.yml | |
parent | 8ab783f403984b3ef9a6c3010a9a81c0f29c4236 (diff) |
Simplify project conf files
1. use copy commands instead of pre_copy
2. remove redundant items in project conf files
3. make the volume mapping clearer
Change-Id: I6c6aa58fac65d7e40105e0a54f6544ee5c47db31
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'etc/testcase/yardstick.ha.neutron_l3_agent.yml')
-rw-r--r-- | etc/testcase/yardstick.ha.neutron_l3_agent.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/testcase/yardstick.ha.neutron_l3_agent.yml b/etc/testcase/yardstick.ha.neutron_l3_agent.yml index 1fb2326d..cf8453e4 100644 --- a/etc/testcase/yardstick.ha.neutron_l3_agent.yml +++ b/etc/testcase/yardstick.ha.neutron_l3_agent.yml @@ -9,13 +9,13 @@ yardstick.ha.neutron_l3_agent: - '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 && + --file /home/opnfv/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', + --task-args '{'file': '/etc/yardstick/pod.yaml', 'image': 'neutron-l3-agent_ha_image', 'flavor': 'neutron-l3-agent_ha_flavor'}'" post_condition: - 'source /etc/yardstick/openstack.creds && |