Skip to content

Commit cadc966

Browse files
committed
tests: rename disk offering
1 parent c87ca4f commit cadc966

File tree

4 files changed

+48
-47
lines changed

4 files changed

+48
-47
lines changed

tests/integration/targets/cs_disk_offering/aliases

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
cloud/cs
2+
cs/group1
3+
cs/group3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
- name: setup disk offering
3-
cs_disk_offering:
3+
ngine_io.cloudstack.disk_offering:
44
name: Small
55
state: absent
66
register: do
77
- name: verify setup disk offering
88
assert:
99
that:
10-
- do is successful
10+
- do is successful
1111

1212
- name: create disk offering in check mode
13-
cs_disk_offering:
13+
ngine_io.cloudstack.disk_offering:
1414
name: Small
1515
disk_size: 10
1616
storage_tags:
@@ -22,10 +22,10 @@
2222
- name: verify create disk offering in check mode
2323
assert:
2424
that:
25-
- do is changed
25+
- do is changed
2626

2727
- name: create disk offering
28-
cs_disk_offering:
28+
ngine_io.cloudstack.disk_offering:
2929
name: Small
3030
disk_size: 10
3131
storage_tags:
@@ -36,13 +36,13 @@
3636
- name: verify create disk offering
3737
assert:
3838
that:
39-
- do is changed
40-
- do.name == "Small"
41-
- do.storage_tags == ['eco', 'backup']
42-
- do.storage_type == "local"
39+
- do is changed
40+
- do.name == "Small"
41+
- do.storage_tags == ['eco', 'backup']
42+
- do.storage_type == "local"
4343

4444
- name: create disk offering idempotence
45-
cs_disk_offering:
45+
ngine_io.cloudstack.disk_offering:
4646
name: Small
4747
disk_size: 10
4848
storage_tags:
@@ -53,13 +53,13 @@
5353
- name: verify create disk offering idempotence
5454
assert:
5555
that:
56-
- do is not changed
57-
- do.name == "Small"
58-
- do.storage_tags == ['eco', 'backup']
59-
- do.storage_type == "local"
56+
- do is not changed
57+
- do.name == "Small"
58+
- do.storage_tags == ['eco', 'backup']
59+
- do.storage_type == "local"
6060

6161
- name: update disk offering in check mode
62-
cs_disk_offering:
62+
ngine_io.cloudstack.disk_offering:
6363
name: Small
6464
disk_size: 10
6565
display_text: Small 10GB
@@ -68,76 +68,76 @@
6868
- name: verify create update offering in check mode
6969
assert:
7070
that:
71-
- do is changed
72-
- do.name == "Small"
73-
- do.storage_tags == ['eco', 'backup']
74-
- do.storage_type == "local"
71+
- do is changed
72+
- do.name == "Small"
73+
- do.storage_tags == ['eco', 'backup']
74+
- do.storage_type == "local"
7575

7676
- name: update disk offering
77-
cs_disk_offering:
77+
ngine_io.cloudstack.disk_offering:
7878
name: Small
7979
disk_size: 10
8080
display_text: Small 10GB
8181
register: do
8282
- name: verify update disk offerin
8383
assert:
8484
that:
85-
- do is changed
86-
- do.name == "Small"
87-
- do.display_text == "Small 10GB"
88-
- do.storage_tags == ['eco', 'backup']
89-
- do.storage_type == "local"
85+
- do is changed
86+
- do.name == "Small"
87+
- do.display_text == "Small 10GB"
88+
- do.storage_tags == ['eco', 'backup']
89+
- do.storage_type == "local"
9090

9191
- name: update disk offering idempotence
92-
cs_disk_offering:
92+
ngine_io.cloudstack.disk_offering:
9393
name: Small
9494
disk_size: 10
9595
display_text: Small 10GB
9696
register: do
9797
- name: verify update disk offering idempotence
9898
assert:
9999
that:
100-
- do is not changed
101-
- do.name == "Small"
102-
- do.display_text == "Small 10GB"
103-
- do.storage_tags == ['eco', 'backup']
104-
- do.storage_type == "local"
100+
- do is not changed
101+
- do.name == "Small"
102+
- do.display_text == "Small 10GB"
103+
- do.storage_tags == ['eco', 'backup']
104+
- do.storage_type == "local"
105105

106106
- name: remove disk offering in check mode
107-
cs_disk_offering:
107+
ngine_io.cloudstack.disk_offering:
108108
name: Small
109109
state: absent
110110
check_mode: true
111111
register: do
112112
- name: verify remove disk offering in check mode
113113
assert:
114114
that:
115-
- do is changed
116-
- do.name == "Small"
117-
- do.display_text == "Small 10GB"
118-
- do.storage_tags == ['eco', 'backup']
119-
- do.storage_type == "local"
115+
- do is changed
116+
- do.name == "Small"
117+
- do.display_text == "Small 10GB"
118+
- do.storage_tags == ['eco', 'backup']
119+
- do.storage_type == "local"
120120

121121
- name: remove disk offering
122-
cs_disk_offering:
122+
ngine_io.cloudstack.disk_offering:
123123
name: Small
124124
state: absent
125125
register: do
126126
- name: verify remove disk offering
127127
assert:
128128
that:
129-
- do is changed
130-
- do.name == "Small"
131-
- do.display_text == "Small 10GB"
132-
- do.storage_tags == ['eco', 'backup']
133-
- do.storage_type == "local"
129+
- do is changed
130+
- do.name == "Small"
131+
- do.display_text == "Small 10GB"
132+
- do.storage_tags == ['eco', 'backup']
133+
- do.storage_type == "local"
134134

135135
- name: remove disk offering idempotence
136-
cs_disk_offering:
136+
ngine_io.cloudstack.disk_offering:
137137
name: Small
138138
state: absent
139139
register: do
140140
- name: verify remove disk offering idempotence
141141
assert:
142142
that:
143-
- do is not changed
143+
- do is not changed

0 commit comments

Comments
 (0)