From 68ccc45de18f41cddb79de33a245bceb3b063ffb Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Thu, 22 Jun 2017 18:23:07 +0300 Subject: [sdc] - latest code changes Change-Id: I861387094b000367218bb417624fe50d3c37f70e Signed-off-by: Tal Gitelman --- .../GlobalSubstitutionTypesServiceTemplate.yaml | 20 ++++---- .../out/MainServiceTemplate.yaml | 28 +++++----- .../out/Nested_pd_serverServiceTemplate.yaml | 60 ++++++++-------------- 3 files changed, 45 insertions(+), 63 deletions(-) (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml index 594705df40..5f072b923b 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -25,9 +25,11 @@ node_types: entry_schema: type: org.openecomp.datatypes.network.IpRequirements port_pd01_port_0_network_role_tag: - type: string + type: list required: true status: SUPPORTED + entry_schema: + type: string port_pd01_port_0_network_role: type: list required: true @@ -71,11 +73,9 @@ node_types: required: true status: SUPPORTED port_pd01_port_0_exCP_naming: - type: list + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: json port_pd01_port_1_network_role: type: list required: true @@ -93,7 +93,7 @@ node_types: required: true status: SUPPORTED entry_schema: - type: json + type: org.openecomp.datatypes.network.VlanRequirements port_pd01_port_1_mac_requirements: type: org.openecomp.datatypes.network.MacRequirements required: true @@ -109,21 +109,21 @@ node_types: required: true status: SUPPORTED port_pd01_port_1_exCP_naming: - type: list + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: json port_pd01_port_1_network_role_tag: - type: string + type: list required: true status: SUPPORTED + entry_schema: + type: string port_pd01_port_0_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: json + type: org.openecomp.datatypes.network.VlanRequirements port_pd01_port_0_subnetpoolid: type: list required: true diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/MainServiceTemplate.yaml index addfbc7d6b..561a5e2a7e 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/out/MainServiceTemplate.yaml @@ -430,18 +430,19 @@ topology_template: port_pd01_port_0_network: - get_input: oam_net_name port_pd01_port_0_ip_requirements: - - - ip_version: 4 - ip_count_required: - is_required: false - floating_ip_count_required: - is_required: false - port_pd01_port_0_network_role_tag: oam + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false + port_pd01_port_0_network_role_tag: + - oam port_pd01_port_1_ip_requirements: - - - ip_version: 4 - ip_count_required: - is_required: false - floating_ip_count_required: - is_required: false + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: + is_required: false compute_pd_server_availability_zone: - get_input: availabilityzone_name compute_pd_server_name: @@ -455,7 +456,8 @@ topology_template: is_required: false vm_image_name: get_input: pd_image_name - port_pd01_port_1_network_role_tag: oam + port_pd01_port_1_network_role_tag: + - oam port_pd01_port_1_network: - get_input: oam_net_name compute_pd_server_user_data_format: @@ -499,4 +501,4 @@ topology_template: - network_policy_port0 - network_policy_server - network_policy_port1 - - abstract_pd_server + - abstract_pd_server \ No newline at end of file diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/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/oneComputeSamePortsAndGetAttrIn/out/Nested_pd_serverServiceTemplate.yaml index 6537ee755c..6780cde331 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/singleSubstitution/oneComputeSamePortsAndGetAttrIn/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/oneComputeSamePortsAndGetAttrIn/out/Nested_pd_serverServiceTemplate.yaml @@ -25,8 +25,10 @@ topology_template: entry_schema: type: org.openecomp.datatypes.network.IpRequirements port_pd01_port_0_network_role_tag: - type: string + type: list required: true + entry_schema: + type: string port_pd01_port_0_network_role: type: list required: true @@ -63,10 +65,8 @@ topology_template: type: string required: true port_pd01_port_0_exCP_naming: - type: list + type: org.openecomp.datatypes.Naming required: true - entry_schema: - type: json port_pd01_port_1_network_role: type: list required: true @@ -81,7 +81,7 @@ topology_template: type: list required: true entry_schema: - type: json + type: org.openecomp.datatypes.network.VlanRequirements port_pd01_port_1_mac_requirements: type: org.openecomp.datatypes.network.MacRequirements required: true @@ -94,18 +94,18 @@ topology_template: type: string required: true port_pd01_port_1_exCP_naming: - type: list + type: org.openecomp.datatypes.Naming required: true - entry_schema: - type: json port_pd01_port_1_network_role_tag: - type: string + type: list required: true + entry_schema: + type: string port_pd01_port_0_vlan_requirements: type: list required: true entry_schema: - type: json + type: org.openecomp.datatypes.network.VlanRequirements port_pd01_port_0_subnetpoolid: type: list required: true @@ -145,13 +145,9 @@ topology_template: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: - - port_pd01_port_1_exCP_naming - - index_value + get_input: port_pd01_port_1_exCP_naming vlan_requirements: - get_input: - - port_pd01_port_1_vlan_requirements - - index_value + get_input: port_pd01_port_1_vlan_requirements ip_requirements: get_input: port_pd01_port_1_ip_requirements network_role_tag: @@ -159,17 +155,11 @@ topology_template: mac_requirements: get_input: port_pd01_port_1_mac_requirements order: - get_input: - - port_pd01_port_1_order - - index_value + get_input: port_pd01_port_1_order network_role: - get_input: - - port_pd01_port_1_network_role - - index_value + get_input: port_pd01_port_1_network_role subnetpoolid: - get_input: - - port_pd01_port_1_subnetpoolid - - index_value + get_input: port_pd01_port_1_subnetpoolid network: get_input: - port_pd01_port_1_network @@ -183,13 +173,9 @@ topology_template: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: - - port_pd01_port_0_exCP_naming - - index_value + get_input: port_pd01_port_0_exCP_naming vlan_requirements: - get_input: - - port_pd01_port_0_vlan_requirements - - index_value + get_input: port_pd01_port_0_vlan_requirements ip_requirements: get_input: port_pd01_port_0_ip_requirements network_role_tag: @@ -197,17 +183,11 @@ topology_template: mac_requirements: get_input: port_pd01_port_0_mac_requirements order: - get_input: - - port_pd01_port_0_order - - index_value + get_input: port_pd01_port_0_order network_role: - get_input: - - port_pd01_port_0_network_role - - index_value + get_input: port_pd01_port_0_network_role subnetpoolid: - get_input: - - port_pd01_port_0_subnetpoolid - - index_value + get_input: port_pd01_port_0_subnetpoolid network: get_input: - port_pd01_port_0_network -- cgit 1.2.3-korg