1 Feature: Tosca VMI Flow
4 Given I want to create a VLM
5 Given I want to set all Togglz to be "true"
7 Scenario: VirtualMachineInterface Validation Flow - Missing Refs Element Validation Error
8 When I want to create a VSP with onboarding type "NetworkPackage"
10 Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/refs_missing.zip"
11 And I want to process the NetworkPackage file for this VSP
12 And I want to print the context data
14 Then I want to check property "errors['nested.yml'][0].level" for value "WARNING"
15 Then I want to check property "errors['nested.yml'][0].message" for value:
17 WARNING: [VLAN2]: Parent port property virtual_machine_interface_refs is missing in VLAN Resource ID [template_Vlan_2]
20 Scenario: VirtualMachineInterface Validation Flow - Missing Tag Validation Error
21 When I want to create a VSP with onboarding type "NetworkPackage"
23 Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/tag_missing.zip"
24 And I want to process the NetworkPackage file for this VSP
25 And I want to print the context data
27 Then I want to check property "errors['nested.yml'][0].level" for value "WARNING"
28 Then I want to check property "errors['nested.yml'][0].message" for value:
30 WARNING: [VLAN2]: VLAN Tag property virtual_machine_interface_properties_sub_interface_vlan_tag is missing in VLAN Resource ID [template_Vlan_2]