diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out')
3 files changed, 52 insertions, 16 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml index 10c7550905..e31c7e32bc 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -46,6 +46,12 @@ node_types: status: SUPPORTED entry_schema: type: string + port_pd01_port_0_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_pd01_port_0_replacement_policy: type: list required: true @@ -110,6 +116,12 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 + port_pd01_port_1_subinterface_indicator: + type: list + required: true + status: SUPPORTED + entry_schema: + type: boolean port_pd01_port_1_order: type: integer required: true @@ -196,6 +208,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED @@ -214,6 +227,7 @@ node_types: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface + - org.openecomp.resource.cp.nodes.heat.network.v2.contrailV2.VLANSubInterface occurrences: - 0 - UNBOUNDED diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/MainServiceTemplate.yaml index e87be546a3..e10c369fa3 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/MainServiceTemplate.yaml @@ -176,6 +176,8 @@ topology_template: - get_input: - pd_server_names - 0 + port_pd01_port_0_subinterface_indicator: + - true port_pd01_port_0_replacement_policy: - AUTO vm_flavor_name: @@ -199,6 +201,8 @@ topology_template: is_required: false floating_ip_count_required: is_required: false + port_pd01_port_1_subinterface_indicator: + - true port_pd01_port_1_mac_requirements: mac_count_required: is_required: false diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/Nested_pd_serverServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/Nested_pd_serverServiceTemplate.yaml index c747cc3d9f..b949593d7d 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/Nested_pd_serverServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/computeWithSamePortTypeNodeConnectedIn/out/Nested_pd_serverServiceTemplate.yaml @@ -42,6 +42,11 @@ topology_template: required: true entry_schema: type: string + port_pd01_port_0_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_pd01_port_0_replacement_policy: type: list required: true @@ -93,6 +98,11 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 + port_pd01_port_1_subinterface_indicator: + type: list + required: true + entry_schema: + type: boolean port_pd01_port_1_order: type: integer required: true @@ -148,26 +158,30 @@ topology_template: pd_server_pd01_port_1: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + replacement_policy: + get_input: + - port_pd01_port_1_replacement_policy + - index_value + mac_requirements: + get_input: port_pd01_port_1_mac_requirements + order: + get_input: port_pd01_port_1_order security_groups: get_input: - port_pd01_port_1_security_groups - index_value exCP_naming: get_input: port_pd01_port_1_exCP_naming - replacement_policy: - get_input: - - port_pd01_port_1_replacement_policy - - index_value vlan_requirements: get_input: port_pd01_port_1_vlan_requirements + subinterface_indicator: + get_input: + - port_pd01_port_1_subinterface_indicator + - index_value ip_requirements: get_input: port_pd01_port_1_ip_requirements network_role_tag: get_input: port_pd01_port_1_network_role_tag - mac_requirements: - get_input: port_pd01_port_1_mac_requirements - order: - get_input: port_pd01_port_1_order network_role: get_input: port_pd01_port_1_network_role subnetpoolid: @@ -184,26 +198,30 @@ topology_template: pd_server_pd01_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: + replacement_policy: + get_input: + - port_pd01_port_0_replacement_policy + - index_value + mac_requirements: + get_input: port_pd01_port_0_mac_requirements + order: + get_input: port_pd01_port_0_order security_groups: get_input: - port_pd01_port_0_security_groups - index_value exCP_naming: get_input: port_pd01_port_0_exCP_naming - replacement_policy: - get_input: - - port_pd01_port_0_replacement_policy - - index_value vlan_requirements: get_input: port_pd01_port_0_vlan_requirements + subinterface_indicator: + get_input: + - port_pd01_port_0_subinterface_indicator + - index_value ip_requirements: get_input: port_pd01_port_0_ip_requirements network_role_tag: get_input: port_pd01_port_0_network_role_tag - mac_requirements: - get_input: port_pd01_port_0_mac_requirements - order: - get_input: port_pd01_port_0_order network_role: get_input: port_pd01_port_0_network_role subnetpoolid: |