blob: 803e40873a7e264a177cf1bb049b24b91715fe44 [file] [log] [blame]
katy.rotman0f75bea2018-02-26 11:48:50 +02001Feature: Tosca Validation Flow
2
3 Background: Init
4 Given I want to create a VLM
5 Given I want to set all Togglz to be "true"
6
katy.rotman808b8662018-03-06 11:31:25 +02007 Scenario:VirtualMachineInterface Validation Flow - Guideline Validation issues present
katy.rotman0f75bea2018-02-26 11:48:50 +02008 When I want to create a VSP with onboarding type "NetworkPackage"
9
10 Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/all-violations.zip"
11 And I want to process the NetworkPackage file for this VSP
12 And I want to print the context data
13
katy.rotman808b8662018-03-06 11:31:25 +020014 Then I want to check property "errors['nested.yml'][3].level" for value "WARNING"
15 Then I want to check property "errors['nested.yml'][3].message" for value:
katy.rotman0f75bea2018-02-26 11:48:50 +020016 """
katy.rotman808b8662018-03-06 11:31:25 +020017 WARNING: [VlANG1]: VLAN Resource will not be translated as the VLAN Sub-interface [template_Vlan_2] is not modeled as resource group
katy.rotman0f75bea2018-02-26 11:48:50 +020018 """
19
20
katy.rotman808b8662018-03-06 11:31:25 +020021 Then I want to check property "errors['nested.yml'][1].level" for value "ERROR"
22 Then I want to check property "errors['nested.yml'][1].message" for value:
katy.rotman0f75bea2018-02-26 11:48:50 +020023 """
katy.rotman808b8662018-03-06 11:31:25 +020024 ERROR: [VlANG2]: There should not be any Compute Server Node, Port, Parent Port in nested file [nested.yml]
katy.rotman0f75bea2018-02-26 11:48:50 +020025"""
26
27 Then I want to check property "errors['main.yml'][6].level" for value "WARNING"
28 Then I want to check property "errors['main.yml'][6].message" for value:
29 """
katy.rotman808b8662018-03-06 11:31:25 +020030 WARNING: [VlANG3]: Network role associated with VLAN Sub-interface id[test_Vlan1] is not following the naming convention
katy.rotman0f75bea2018-02-26 11:48:50 +020031 """