aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/rally/scenario/opnfv-vm.yaml
blob: 74f509925ad684385c26a817fa7c9e8749204ad4 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  VMTasks.boot_runcommand_delete:
    -
      args:
        {{ vm_params(image_name, flavor_name) }}
        floating_network: {{ floating_network }}
        force_delete: false
        command:
          interpreter: /bin/sh
          script_file: {{ sup_dir }}/instance_dd_test.sh
        username: cirros
        nics:
          - net-id: {{ netid }}
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        network: {}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

    -
      args:
        {{ vm_params(image_name, flavor_name) }}
        fixed_network: private
        floating_network: {{ floating_network }}
        force_delete: false
        command:
          interpreter: /bin/sh
          script_file: {{ sup_dir }}/instance_dd_test.sh
        use_floatingip: true
        username: cirros
        nics:
          - net-id: {{ netid }}
        volume_args:
          size: 2
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}