summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-cinder.yaml
blob: f94a5a1a402219f956c92610fbe46de128e799da (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
  CinderVolumes.create_and_delete_snapshot:
    -
      args:
        force: false
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        quotas:
          {{ unlimited_volumes() }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
        {{ volumes() }}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderVolumes.create_and_delete_volume:
    -
      args:
        size:
          max: 1
          min: 1
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        quotas:
          {{ unlimited_volumes() }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}
    -
      args:
        {{ vm_params(image_name,none,1) }}
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        quotas:
          {{ unlimited_volumes() }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}
    -
      args:
        size: 1
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        quotas:
          {{ unlimited_volumes() }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderVolumes.create_and_extend_volume:
    -
      args:
        new_size: 2
        size: 1
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        quotas:
          {{ unlimited_volumes() }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderVolumes.create_from_volume_and_delete_volume:
    -
      args:
        size: 1
      context:
        {% call user_context(tenants_amount, users_amount, use_existing_users) %}
        quotas:
          {{ unlimited_volumes() }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
        {{ volumes() }}
        {% endcall %}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderQos.create_and_list_qos:
    -
      args:
        consumer: "both"
        write_iops_sec: "10"
        read_iops_sec: "1000"
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderQos.create_and_set_qos:
    -
      args:
        consumer: "back-end"
        write_iops_sec: "10"
        read_iops_sec: "1000"
        set_consumer: "both"
        set_write_iops_sec: "11"
        set_read_iops_sec: "1001"
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderVolumeTypes.create_and_list_volume_types:
    -
      args:
        description: "rally tests creating types"
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}

  CinderVolumeTypes.create_volume_type_and_encryption_type:
    -
      args:
        description: "rally tests creating types"
        provider: "LuksEncryptor"
        cipher: "aes-xts-plain64"
        key_size: 512
        control_location: "front-end"
      context:
        {{ user_context(tenants_amount, users_amount, use_existing_users) }}
        api_versions:
          {{ volume_service(version=volume_version, service_type=volume_service_type) }}
      runner:
        {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
      sla:
        {{ no_failures_sla() }}