talio | f2ea4a5 | 2018-04-12 13:13:24 +0300 | [diff] [blame^] | 1 | Feature: Tosca VMI Flow |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 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.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 7 | Scenario:VirtualMachineInterface Validation Flow - Guideline Validation issues present |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 8 | 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.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 14 | 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.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 16 | """ |
katy.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 17 | WARNING: [VlANG1]: VLAN Resource will not be translated as the VLAN Sub-interface [template_Vlan_2] is not modeled as resource group |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 18 | """ |
| 19 | |
| 20 | |
katy.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 21 | 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.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 23 | """ |
katy.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 24 | ERROR: [VlANG2]: There should not be any Compute Server Node, Port, Parent Port in nested file [nested.yml] |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 25 | """ |
| 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.rotman | 808b866 | 2018-03-06 11:31:25 +0200 | [diff] [blame] | 30 | WARNING: [VlANG3]: Network role associated with VLAN Sub-interface id[test_Vlan1] is not following the naming convention |
katy.rotman | 0f75bea | 2018-02-26 11:48:50 +0200 | [diff] [blame] | 31 | """ |