docker for cucumber BDD
[sdc.git] / cucumber-js-test-apis-ci / features / TOSCA / VlanTagging.feature
1 Feature: Vlan Tagging - Full Flow tests
2
3   Background: Init
4     Given I want to create a VLM
5     Given I want to set all Togglz to be "true"
6
7   Scenario: Pattern 1A Full - Create and submit VSP Network Package containing one compute, one
8   port and one subinterface connected to that port. Both port and subinterface are connected to
9   different internal networks.
10     When I want to create a VSP with onboarding type "NetworkPackage"
11
12     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1a/subInterfaceGetAttrInOut.zip"
13     And I want to process the NetworkPackage file for this VSP
14
15     Then I want to commit this Item
16     And I want to submit this VSP
17     And I want to package this VSP
18
19     Then I want to make sure this Item has status "Certified"
20
21     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
22
23     Then I want to create a VF for this Item
24
25   Scenario: Pattern 1A Full - Create and submit VSP Network Package containing one compute, one
26   port and one regular nested resource subinterface connected to that port. Only port is connected
27   to an internal network.
28     When I want to create a VSP with onboarding type "NetworkPackage"
29
30     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1a/regularNestedSubinterface.zip"
31     And I want to process the NetworkPackage file for this VSP
32
33     Then I want to commit this Item
34     And I want to submit this VSP
35     And I want to package this VSP
36
37     Then I want to make sure this Item has status "Certified"
38
39     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
40
41     Then I want to create a VF for this Item
42
43   Scenario: Pattern 1A Negative - Create and submit VSP Network Package containing one compute, one
44   port and multiple subinterface resource groups which are not bound to parent port. Only port is
45   connected to an internal network.
46     When I want to create a VSP with onboarding type "NetworkPackage"
47
48     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1a/negativeNotBoundToParentPort.zip"
49     And I want to process the NetworkPackage file for this VSP
50
51     Then I want to commit this Item
52     And I want to submit this VSP
53     And I want to package this VSP
54
55     Then I want to make sure this Item has status "Certified"
56
57     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
58
59     Then I want to create a VF for this Item
60
61   Scenario: Pattern 1B Full - Create and submit VSP Network Package containing Sub Interface and different compute type and Create VF
62     When I want to create a VSP with onboarding type "NetworkPackage"
63
64     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1b/diffCompute_SubInterface.zip"
65     And I want to process the NetworkPackage file for this VSP
66
67     Then I want to commit this Item
68     And I want to submit this VSP
69     And I want to package this VSP
70
71     Then I want to make sure this Item has status "Certified"
72
73     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
74
75     Then I want to create a VF for this Item
76
77   Scenario: Pattern 1B Full - Create and submit VSP Network Package containing Sub Interface and same Compute type and different Port type and Create VF
78     When I want to create a VSP with onboarding type "NetworkPackage"
79
80     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1b/diffPort_SubInterface.zip"
81     And I want to process the NetworkPackage file for this VSP
82
83     Then I want to commit this Item
84     And I want to submit this VSP
85     And I want to package this VSP
86
87     Then I want to make sure this Item has status "Certified"
88
89     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
90
91     Then I want to create a VF for this Item
92
93   Scenario: Pattern 1B Full - Create and submit VSP Network Package containing Sub Interface and same Compute type same Port type and different Sub interface file and Create VF
94     When I want to create a VSP with onboarding type "NetworkPackage"
95
96     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1b/diffSubInterfaceFile.zip"
97     And I want to process the NetworkPackage file for this VSP
98
99     Then I want to commit this Item
100     And I want to submit this VSP
101     And I want to package this VSP
102
103     Then I want to make sure this Item has status "Certified"
104
105     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
106
107     Then I want to create a VF for this Item
108
109   Scenario: Pattern 1B Full - Create and submit VSP Network Package containing Sub Interface and same Compute type different Port type and same Sub interface file and Create VF
110     When I want to create a VSP with onboarding type "NetworkPackage"
111
112     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1b/regularNestedSubInterface.zip"
113     And I want to process the NetworkPackage file for this VSP
114
115     Then I want to commit this Item
116     And I want to submit this VSP
117     And I want to package this VSP
118
119     Then I want to make sure this Item has status "Certified"
120
121     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
122
123     Then I want to create a VF for this Item
124
125   Scenario: Pattern 1C1 Full - Create and submit VSP Network Package containing two computes of different type, four ports of two types
126   each and four subinterface resource groups of two types each and Create VF
127
128     When I want to create a VSP with onboarding type "NetworkPackage"
129
130     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1c1/multiplePortsMultipleVlans.zip"
131     And I want to process the NetworkPackage file for this VSP
132
133     Then I want to commit this Item
134     And I want to submit this VSP
135     And I want to package this VSP
136
137     Then I want to make sure this Item has status "Certified"
138
139     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
140
141     Then I want to create a VF for this Item
142
143   Scenario: Pattern 1C1 Full - Create and submit VSP Network Package containing two computes, two ports of same type
144   connected to network and two subinterface resource represented through a regular nested resource and not using a
145   resource group not connected to network and Create VF
146
147     When I want to create a VSP with onboarding type "NetworkPackage"
148
149     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1c1/regularNestedSubInterface.zip"
150     And I want to process the NetworkPackage file for this VSP
151
152     Then I want to commit this Item
153     And I want to submit this VSP
154     And I want to package this VSP
155
156     Then I want to make sure this Item has status "Certified"
157
158     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
159
160     Then I want to create a VF for this Item
161
162   Scenario: Pattern 1C2 Full - Create and submit VSP Network Package containing two computes of the same type,
163   each one has one port with one sub interface (same type) resource group have a different count and Create VF
164
165     When I want to create a VSP with onboarding type "NetworkPackage"
166
167     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1c2/differentResourceGroupCount.zip"
168     And I want to process the NetworkPackage file for this VSP
169
170     Then I want to commit this Item
171     And I want to submit this VSP
172     And I want to package this VSP
173
174     Then I want to make sure this Item has status "Certified"
175
176     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
177
178     Then I want to create a VF for this Item
179
180   Scenario: Pattern 1C2 Full - Create and submit VSP Network Package containing two computes of the same type,
181   each one has one port with one sub interface each (same type, different network connectivity) and Create VF
182
183     When I want to create a VSP with onboarding type "NetworkPackage"
184
185     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern1c2/differentNetwork.zip"
186     And I want to process the NetworkPackage file for this VSP
187
188     Then I want to commit this Item
189     And I want to submit this VSP
190     And I want to package this VSP
191
192     Then I want to make sure this Item has status "Certified"
193
194     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
195
196     Then I want to create a VF for this Item
197
198   Scenario: Pattern 4 Full - Create and submit VSP Network Package containing one computes, one
199   port represented through a nested resource having one subinterface nested resource and Create VF
200
201     When I want to create a VSP with onboarding type "NetworkPackage"
202
203     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern4/Pattern_4_SinglePort_SingleSubInterface.zip"
204     And I want to process the NetworkPackage file for this VSP
205
206     Then I want to commit this Item
207     And I want to submit this VSP
208     And I want to package this VSP
209
210     Then I want to make sure this Item has status "Certified"
211
212     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
213
214     Then I want to create a VF for this Item
215
216   Scenario: Pattern 4 Full - Create and submit VSP Network Package containing one computes, two
217   ports represented through a nested resource both port connected to different nested subinterface
218   resource and Create VF
219
220     When I want to create a VSP with onboarding type "NetworkPackage"
221
222     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern4/Pattern_4_MultiplePort_MultipleSubInterface.zip"
223     And I want to process the NetworkPackage file for this VSP
224
225     Then I want to commit this Item
226     And I want to submit this VSP
227     And I want to package this VSP
228
229     Then I want to make sure this Item has status "Certified"
230
231     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
232
233     Then I want to create a VF for this Item
234
235   Scenario: Pattern 4 Full - Create and submit VSP Network Package containing one computes, one
236   port represented through a regular nested resource and Create VF
237
238     When I want to create a VSP with onboarding type "NetworkPackage"
239
240     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern4/regularNestedSubInterface.zip"
241     And I want to process the NetworkPackage file for this VSP
242
243     Then I want to commit this Item
244     And I want to submit this VSP
245     And I want to package this VSP
246
247     Then I want to make sure this Item has status "Certified"
248
249     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
250
251     Then I want to create a VF for this Item
252
253   Scenario: Pattern 5 Full - Create and submit VSP Network Package containing one nested
254   component which is having two VFCs of different type both connected with two port and one port
255   is connected with sub interface resource and Create VF
256
257     When I want to create a VSP with onboarding type "NetworkPackage"
258     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern5/Pattern_5_NestedResourceWithMultipleComputeAndPort.zip"
259     And I want to process the NetworkPackage file for this VSP
260
261     Then I want to commit this Item
262     And I want to submit this VSP
263     And I want to package this VSP
264
265     Then I want to make sure this Item has status "Certified"
266
267     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
268
269     Then I want to create a VF for this Item
270
271   Scenario: Pattern 5 Full - Create and submit VSP Network Package containing different
272   subinterface connectivity scenario and Create VF
273
274     When I want to create a VSP with onboarding type "NetworkPackage"
275
276     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/pattern5/Pattern_5ComplexVSPWithDiffSubInfConn.zip"
277     And I want to process the NetworkPackage file for this VSP
278
279     Then I want to commit this Item
280     And I want to submit this VSP
281     And I want to package this VSP
282
283     Then I want to make sure this Item has status "Certified"
284
285     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
286
287     Then I want to create a VF for this Item
288
289   Scenario: VFC Instance Group per Network Role - Create and submit VSP Network Package of pattern 1A heat
290
291     When I want to create a VSP with onboarding type "NetworkPackage"
292
293     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/vfcinstancegroup/groupPattern1aHeat.zip"
294     And I want to process the NetworkPackage file for this VSP
295
296     Then I want to commit this Item
297     And I want to submit this VSP
298     And I want to package this VSP
299
300     Then I want to make sure this Item has status "Certified"
301
302     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
303
304     Then I want to create a VF for this Item
305
306   Scenario: VFC Instance Group per Network Role - Create and submit VSP Network Package of pattern 1B heat
307
308     When I want to create a VSP with onboarding type "NetworkPackage"
309
310     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/vfcinstancegroup/groupPattern1bHeat.zip"
311     And I want to process the NetworkPackage file for this VSP
312
313     Then I want to commit this Item
314     And I want to submit this VSP
315     And I want to package this VSP
316
317     Then I want to make sure this Item has status "Certified"
318
319     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
320
321     Then I want to create a VF for this Item
322
323   Scenario: VFC Instance Group per Network Role - Create and submit VSP Network Package of pattern 1C1 heat
324
325     When I want to create a VSP with onboarding type "NetworkPackage"
326
327     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c1Heat.zip"
328     And I want to process the NetworkPackage file for this VSP
329
330     Then I want to commit this Item
331     And I want to submit this VSP
332     And I want to package this VSP
333
334     Then I want to make sure this Item has status "Certified"
335
336     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
337
338     Then I want to create a VF for this Item
339
340   Scenario: VFC Instance Group per Network Role - Create and submit VSP Network Package of pattern 1C2 heat
341
342     When I want to create a VSP with onboarding type "NetworkPackage"
343
344     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c2Heat.zip"
345     And I want to process the NetworkPackage file for this VSP
346
347     Then I want to commit this Item
348     And I want to submit this VSP
349     And I want to package this VSP
350
351     Then I want to make sure this Item has status "Certified"
352
353     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
354
355     Then I want to create a VF for this Item
356
357   Scenario: VFC Instance Group per Network Role - Create and submit VSP Network Package of pattern 4 heat
358
359     When I want to create a VSP with onboarding type "NetworkPackage"
360
361     Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/vlantagging/vfcinstancegroup/groupPattern4Heat.zip"
362     And I want to process the NetworkPackage file for this VSP
363
364     Then I want to commit this Item
365     And I want to submit this VSP
366     And I want to package this VSP
367
368     Then I want to make sure this Item has status "Certified"
369
370     Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
371
372     Then I want to create a VF for this Item