diff options
author | eleonorali <eleonoral@amdocs.com> | 2018-02-11 16:06:15 +0200 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-02-12 07:09:00 +0000 |
commit | 87b672d46cd2481261ac3489c567484a41f055e3 (patch) | |
tree | 57248efd3fd45275005a85ff535753e874790441 | |
parent | da603323ec3cdf4257707ac1cb4d5d657783ae9f (diff) |
SRIOV - add annotations
add SRIOV - add Full flow Test
Change-Id: I82a159490d4be3e7028a5778d72308d951268ff7
Issue-ID: SDC-996
Signed-off-by: eleonorali <eleonoral@amdocs.com>
-rw-r--r-- | openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature | 47 | ||||
-rw-r--r-- | openecomp-bdd/resources/uploads/inputsForNestedHeat.zip | bin | 0 -> 3576 bytes |
2 files changed, 47 insertions, 0 deletions
diff --git a/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature b/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature index 29d87cd2c2..2757381d91 100644 --- a/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature +++ b/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature @@ -18,3 +18,50 @@ Feature: Tosca Validation Flow Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip" Then I want to create a VF for this Item + + Scenario: Full - Input parameter annotation validation. + When I want to create a VSP with onboarding type "NetworkPackage" + + Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/inputsForNestedHeat.zip" + And I want to process the NetworkPackage file for this VSP + + Then I want to commit this Item + And I want to submit this VSP + And I want to package this VSP + + Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip" + When I want to load the yaml content of the entry "Definitions/MainServiceTemplate.yaml" in the zip "resources/downloads/VSPPackage.zip" to context + + Then I want to check property "topology_template.inputs.pcm_flavor_name.annotations.source.type" for value "org.openecomp.annotations.Source" + Then I want to check property "topology_template.inputs.pcm_flavor_name.annotations.source.properties.vf_module_label" to have length 2 + Then I want to check property "topology_template.inputs.pcm_flavor_name.annotations.source.properties.vf_module_label[0]" for value "main-heat2" + Then I want to check property "topology_template.inputs.pcm_flavor_name.annotations.source.properties.vf_module_label[1]" for value "main-heat1" + Then I want to check property "topology_template.inputs.pcm_flavor_name.annotations.source.properties.param_name" for value "pcm_flavor_name" + + + Then I want to check property "topology_template.inputs.sm_server_names.annotations.source.type" for value "org.openecomp.annotations.Source" + Then I want to check property "topology_template.inputs.sm_server_names.annotations.source.properties.vf_module_label" to have length 1 + Then I want to check property "topology_template.inputs.sm_server_names.annotations.source.properties.vf_module_label[0]" for value "main-heat1" + Then I want to check property "topology_template.inputs.sm_server_names.annotations.source.properties.param_name" for value "sm_server_names" + + Then I want to check property "topology_template.inputs.dummy_net_netmask_1.annotations.source.type" for value "org.openecomp.annotations.Source" + Then I want to check property "topology_template.inputs.dummy_net_netmask_1.annotations.source.properties.vf_module_label" to have length 1 + Then I want to check property "topology_template.inputs.dummy_net_netmask_1.annotations.source.properties.vf_module_label[0]" for value "main-heat2" + Then I want to check property "topology_template.inputs.dummy_net_netmask_1.annotations.source.properties.param_name" for value "dummy_net_netmask_1" + + When I want to load the yaml content of the entry "Definitions/nested-pcm_v0.1ServiceTemplate.yaml" in the zip "resources/downloads/VSPPackage.zip" to context + Then I want to check property "topology_template.inputs.port_pcm_port_0_network_role.annotations" does not exist + Then I want to check property "topology_template.inputs.availabilityzone_name.annotations" does not exist + Then I want to check property "topology_template.inputs.pcm_server_name.annotations" does not exist + + When I want to load the yaml content of the entry "Definitions/nested-pcm_v0.2ServiceTemplate.yaml" in the zip "resources/downloads/VSPPackage.zip" to context + Then I want to check property "topology_template.inputs.port_pcm_port_13_mac_requirements.annotations" does not exist + Then I want to check property "topology_template.inputs.availabilityzone_name.annotations" does not exist + Then I want to check property "topology_template.inputs.pcm_server_name.annotations" does not exist + + When I want to load the yaml content of the entry "Definitions/Nested_computeServiceTemplate.yaml" in the zip "resources/downloads/VSPPackage.zip" to context + Then I want to check property "topology_template.inputs.compute_compute_user_data_format.annotations" does not exist + Then I want to check property "topology_template.inputs.vm_image_name.annotations" does not exist + Then I want to check property "topology_template.inputs.compute_compute_name.annotations" does not exist + + Then I want to create a VF for this Item
\ No newline at end of file diff --git a/openecomp-bdd/resources/uploads/inputsForNestedHeat.zip b/openecomp-bdd/resources/uploads/inputsForNestedHeat.zip Binary files differnew file mode 100644 index 0000000000..f00ff56655 --- /dev/null +++ b/openecomp-bdd/resources/uploads/inputsForNestedHeat.zip |