aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/rally/scenario/opnfv-glance.yaml
blob: 3a67e745793b473ae24187ff6ffe4f011907a70c (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
43
44
45
46
47
48
49
  GlanceImages.create_and_delete_image:
    -
      args:
        {{ glance_args(location=glance_image_location, type=glance_image_format) }}
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  GlanceImages.create_and_list_image:
    -
      args:
        {{ glance_args(location=glance_image_location, type=glance_image_format) }}
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  GlanceImages.list_images:
    -
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  GlanceImages.create_image_and_boot_instances:
    -
      args:
        {{ glance_args(location=glance_image_location, type=glance_image_format) }}
        flavor:
            name: {{ flavor_name }}
        number_instances: 2
        nics:
          - net-id: {{ netid }}
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
        quotas:
          {{ unlimited_nova() }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}