summaryrefslogtreecommitdiffstats
path: root/etc/testcase/ha.neutron_l3_agent.yml
blob: 018dcda84305b9007a7728fefdde834ec9089ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
dovetail.ha.neutron_l3_agent:
  name: dovetail.ha.neutron_l3_agent
  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/images/cirros-0.3.5-x86_64-disk.img'
    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'}'"
    post_condition:
      - 'source /etc/yardstick/openstack.creds && openstack --insecure image delete cirros-ha-11'
  report:
    source_archive_files:
      - yardstick.log
      - dovetail.ha.neutron_l3_agent.out
    dest_archive_files:
      - ha_logs/dovetail.ha.neutron_l3_agent.log
      - ha_logs/dovetail.ha.neutron_l3_agent.out
    check_results_file: ha_logs/dovetail.ha.neutron_l3_agent.out
    sub_testcase_list: