diff options
author | ojasdubey <ojas.dubey@amdocs.com> | 2018-11-29 20:46:49 +0530 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-12-02 09:47:45 +0000 |
commit | 6ce1094d509195fe484761467a67a6b3757593b0 (patch) | |
tree | 4c3b0df6711f80c0f20c20ccf013727ff90428d5 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-pattern-4ServiceTemplate.yaml | |
parent | c2a1b7c2eea934f309838f0082b2b851012be9a1 (diff) |
Fix - Port type and vmtype underscore issue
1. Fix for consolidation of VMs for cases when:
a. VM type contains an underscore
b. Multiple ports per network role
2. Updated the unit test cases and test data
Change-Id: I875f3c8384f8ef2c2aa6add9e30a5f8899ae1a71
Issue-ID: SDC-1966
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-pattern-4ServiceTemplate.yaml')
1 files changed, 146 insertions, 146 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-pattern-4ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-pattern-4ServiceTemplate.yaml index 17cbb4ac54..a22e09cd2a 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-pattern-4ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/nestedOtherScenarios/multiLevel/twoNestedLevelsWithAllPatternsAndConnectivities/out/nested-pattern-4ServiceTemplate.yaml @@ -21,9 +21,6 @@ topology_template: immutable: false type: string description: UID of OAM network - port_pd_server_port_1_order: - type: integer - required: true pd_server_names: hidden: false immutable: false @@ -31,27 +28,32 @@ topology_template: description: PD server names entry_schema: type: string - port_pd_server_port_1_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_pd_server_1_port_ip_requirements: + type: list required: true - port_pd_server_port_2_network_role: - type: string + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_1_port_order: + type: integer required: true - port_pd_server_port_1_network_role: - type: string + port_pd_server_2_port_exCP_naming: + type: org.openecomp.datatypes.Naming required: true pd_server_flavor: hidden: false immutable: false type: string description: Flavor for PD server - port_pd_server_port_2_ip_requirements: + port_pd_server_1_port_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_port_2_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_2_port_network_role_tag: + type: string + required: true + port_pd_server_1_port_network_role: + type: string required: true availability_zone_0: label: availabilityzone name @@ -63,29 +65,30 @@ topology_template: hidden: false immutable: false type: string - port_pd_server_port_2_vlan_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_port_2_subnetpoolid: - type: string - required: true pd_server_ips: hidden: false immutable: false type: string - port_pd_server_port_1_subnetpoolid: + port_pd_server_1_port_subnetpoolid: type: string required: true - port_pd_server_port_1_related_networks: + port_pd_server_2_port_order: + type: integer + required: true + port_pd_server_1_port_related_networks: type: list required: true entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_pd_server_port_1_network_role_tag: + port_pd_server_1_port_network_role_tag: + type: string + required: true + port_pd_server_2_port_subnetpoolid: type: string required: true + port_pd_server_1_port_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true security_group_name: hidden: false immutable: false @@ -98,20 +101,25 @@ topology_template: immutable: false type: string description: Flavor for PS server - port_pd_server_port_1_vlan_requirements: + port_pd_server_2_port_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_pd_server_port_2_order: - type: integer + type: org.openecomp.datatypes.network.IpRequirements + port_pd_server_2_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - port_pd_server_port_2_related_networks: + port_pd_server_2_port_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_pd_server_2_port_related_networks: type: list required: true entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_pd_server_port_2_network_role_tag: + port_pd_server_2_port_network_role: type: string required: true pd_server_image: @@ -119,83 +127,75 @@ topology_template: immutable: false type: string description: Flavor for PD server - port_pd_server_port_1_ip_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pd_server_port_2_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_pd_server_port_1_exCP_naming: - type: org.openecomp.datatypes.Naming + port_pd_server_1_port_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true node_templates: - pd_server_port_1: + pd_server_2_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: subnetpoolid: - get_input: port_pd_server_port_1_subnetpoolid + get_input: port_pd_server_2_port_subnetpoolid related_networks: - get_input: port_pd_server_port_1_related_networks + get_input: port_pd_server_2_port_related_networks network: get_input: net replacement_policy: AUTO ip_requirements: - get_input: port_pd_server_port_1_ip_requirements + get_input: port_pd_server_2_port_ip_requirements network_role: - get_input: port_pd_server_port_1_network_role + get_input: port_pd_server_2_port_network_role fixed_ips: - ip_address: get_input: - pd_server_ips - - 0 + - 1 mac_requirements: - get_input: port_pd_server_port_1_mac_requirements + get_input: port_pd_server_2_port_mac_requirements subinterface_indicator: false exCP_naming: - get_input: port_pd_server_port_1_exCP_naming + get_input: port_pd_server_2_port_exCP_naming vlan_requirements: - get_input: port_pd_server_port_1_vlan_requirements + get_input: port_pd_server_2_port_vlan_requirements network_role_tag: - get_input: port_pd_server_port_1_network_role_tag + get_input: port_pd_server_2_port_network_role_tag order: - get_input: port_pd_server_port_1_order + get_input: port_pd_server_2_port_order requirements: - binding: capability: tosca.capabilities.network.Bindable node: server_pd relationship: tosca.relationships.network.BindsTo - pd_server_port_2: + pd_server_1_port: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: subnetpoolid: - get_input: port_pd_server_port_2_subnetpoolid + get_input: port_pd_server_1_port_subnetpoolid related_networks: - get_input: port_pd_server_port_2_related_networks + get_input: port_pd_server_1_port_related_networks network: get_input: net replacement_policy: AUTO ip_requirements: - get_input: port_pd_server_port_2_ip_requirements + get_input: port_pd_server_1_port_ip_requirements network_role: - get_input: port_pd_server_port_2_network_role + get_input: port_pd_server_1_port_network_role fixed_ips: - ip_address: get_input: - pd_server_ips - - 1 + - 0 mac_requirements: - get_input: port_pd_server_port_2_mac_requirements + get_input: port_pd_server_1_port_mac_requirements subinterface_indicator: false exCP_naming: - get_input: port_pd_server_port_2_exCP_naming + get_input: port_pd_server_1_port_exCP_naming vlan_requirements: - get_input: port_pd_server_port_2_vlan_requirements + get_input: port_pd_server_1_port_vlan_requirements network_role_tag: - get_input: port_pd_server_port_2_network_role_tag + get_input: port_pd_server_1_port_network_role_tag order: - get_input: port_pd_server_port_2_order + get_input: port_pd_server_1_port_order requirements: - binding: capability: tosca.capabilities.network.Bindable @@ -221,8 +221,8 @@ topology_template: heat_file: ../Artifacts/nested-pattern-4.yml description: nested1 members: - - pd_server_port_1 - - pd_server_port_2 + - pd_server_2_port + - pd_server_1_port - server_pd outputs: pattern4_attr_1: @@ -231,33 +231,48 @@ topology_template: substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.heat.pd_server capabilities: + feature_pd_server_2_port: + - pd_server_2_port + - feature + network.incoming.packets.rate_pd_server_1_port: + - pd_server_1_port + - network.incoming.packets.rate disk.iops_server_pd: - server_pd - disk.iops disk.device.read.bytes.rate_server_pd: - server_pd - disk.device.read.bytes.rate + network.outgoing.bytes_pd_server_2_port: + - pd_server_2_port + - network.outgoing.bytes + network.outgoing.packets.rate_pd_server_2_port: + - pd_server_2_port + - network.outgoing.packets.rate memory.resident_server_pd: - server_pd - memory.resident + binding_pd_server_1_port: + - pd_server_1_port + - binding cpu_util_server_pd: - server_pd - cpu_util - network.incoming.bytes_pd_server_port_1: - - pd_server_port_1 - - network.incoming.bytes - network.incoming.bytes_pd_server_port_2: - - pd_server_port_2 - - network.incoming.bytes + attachment_pd_server_2_port: + - pd_server_2_port + - attachment + network.incoming.packets_pd_server_2_port: + - pd_server_2_port + - network.incoming.packets disk.device.read.requests_server_pd: - server_pd - disk.device.read.requests - network.incoming.bytes.rate_pd_server_port_1: - - pd_server_port_1 - - network.incoming.bytes.rate - network.incoming.bytes.rate_pd_server_port_2: - - pd_server_port_2 - - network.incoming.bytes.rate + forwarder_pd_server_1_port: + - pd_server_1_port + - forwarder + network.outgoing.packets.rate_pd_server_1_port: + - pd_server_1_port + - network.outgoing.packets.rate disk.device.allocation_server_pd: - server_pd - disk.device.allocation @@ -273,18 +288,12 @@ topology_template: disk.device.capacity_server_pd: - server_pd - disk.device.capacity - attachment_pd_server_port_2: - - pd_server_port_2 - - attachment - network.incoming.packets_pd_server_port_2: - - pd_server_port_2 - - network.incoming.packets - attachment_pd_server_port_1: - - pd_server_port_1 - - attachment - network.incoming.packets_pd_server_port_1: - - pd_server_port_1 - - network.incoming.packets + network.outpoing.packets_pd_server_2_port: + - pd_server_2_port + - network.outpoing.packets + network.incoming.bytes_pd_server_2_port: + - pd_server_2_port + - network.incoming.bytes memory.usage_server_pd: - server_pd - memory.usage @@ -303,78 +312,72 @@ topology_template: disk.device.usage_server_pd: - server_pd - disk.device.usage - feature_pd_server_port_1: - - pd_server_port_1 - - feature - feature_pd_server_port_2: - - pd_server_port_2 - - feature + network.outpoing.packets_pd_server_1_port: + - pd_server_1_port + - network.outpoing.packets + binding_pd_server_2_port: + - pd_server_2_port + - binding + network.incoming.packets.rate_pd_server_2_port: + - pd_server_2_port + - network.incoming.packets.rate disk.read.bytes_server_pd: - server_pd - disk.read.bytes + forwarder_pd_server_2_port: + - pd_server_2_port + - forwarder + feature_pd_server_1_port: + - pd_server_1_port + - feature disk.device.read.bytes_server_pd: - server_pd - disk.device.read.bytes - network.incoming.packets.rate_pd_server_port_2: - - pd_server_port_2 - - network.incoming.packets.rate - network.incoming.packets.rate_pd_server_port_1: - - pd_server_port_1 - - network.incoming.packets.rate instance_server_pd: - server_pd - instance - binding_pd_server_port_2: - - pd_server_port_2 - - binding - binding_pd_server_port_1: - - pd_server_port_1 - - binding + network.incoming.bytes.rate_pd_server_2_port: + - pd_server_2_port + - network.incoming.bytes.rate cpu.delta_server_pd: - server_pd - cpu.delta host_server_pd: - server_pd - host - network.outpoing.packets_pd_server_port_1: - - pd_server_port_1 - - network.outpoing.packets + network.incoming.bytes.rate_pd_server_1_port: + - pd_server_1_port + - network.incoming.bytes.rate vcpus_server_pd: - server_pd - vcpus disk.ephemeral.size_server_pd: - server_pd - disk.ephemeral.size - network.outpoing.packets_pd_server_port_2: - - pd_server_port_2 - - network.outpoing.packets - network.outgoing.packets.rate_pd_server_port_2: - - pd_server_port_2 - - network.outgoing.packets.rate disk.latency_server_pd: - server_pd - disk.latency - network.outgoing.packets.rate_pd_server_port_1: - - pd_server_port_1 - - network.outgoing.packets.rate disk.device.write.bytes.rate_server_pd: - server_pd - disk.device.write.bytes.rate disk.write.requests.rate_server_pd: - server_pd - disk.write.requests.rate + network.outgoing.bytes.rate_pd_server_2_port: + - pd_server_2_port + - network.outgoing.bytes.rate disk.write.requests_server_pd: - server_pd - disk.write.requests - network.outgoing.bytes_pd_server_port_2: - - pd_server_port_2 - - network.outgoing.bytes disk.device.iops_server_pd: - server_pd - disk.device.iops - network.outgoing.bytes_pd_server_port_1: - - pd_server_port_1 - - network.outgoing.bytes + attachment_pd_server_1_port: + - pd_server_1_port + - attachment + network.incoming.packets_pd_server_1_port: + - pd_server_1_port + - network.incoming.packets disk.read.requests_server_pd: - server_pd - disk.read.requests @@ -384,33 +387,27 @@ topology_template: disk.device.latency_server_pd: - server_pd - disk.device.latency + network.outgoing.bytes_pd_server_1_port: + - pd_server_1_port + - network.outgoing.bytes binding_server_pd: - server_pd - binding scalable_server_pd: - server_pd - scalable - network.outgoing.bytes.rate_pd_server_port_2: - - pd_server_port_2 - - network.outgoing.bytes.rate - forwarder_pd_server_port_1: - - pd_server_port_1 - - forwarder - network.outgoing.bytes.rate_pd_server_port_1: - - pd_server_port_1 - - network.outgoing.bytes.rate disk.write.bytes_server_pd: - server_pd - disk.write.bytes disk.write.bytes.rate_server_pd: - server_pd - disk.write.bytes.rate - forwarder_pd_server_port_2: - - pd_server_port_2 - - forwarder feature_server_pd: - server_pd - feature + network.outgoing.bytes.rate_pd_server_1_port: + - pd_server_1_port + - network.outgoing.bytes.rate disk.root.size_server_pd: - server_pd - disk.root.size @@ -420,6 +417,9 @@ topology_template: disk.device.write.requests.rate_server_pd: - server_pd - disk.device.write.requests.rate + network.incoming.bytes_pd_server_1_port: + - pd_server_1_port + - network.incoming.bytes disk.device.write.bytes_server_pd: - server_pd - disk.device.write.bytes @@ -433,15 +433,15 @@ topology_template: dependency_server_pd: - server_pd - dependency - link_pd_server_port_2: - - pd_server_port_2 - - link - link_pd_server_port_1: - - pd_server_port_1 + dependency_pd_server_2_port: + - pd_server_2_port + - dependency + link_pd_server_2_port: + - pd_server_2_port - link - dependency_pd_server_port_1: - - pd_server_port_1 + dependency_pd_server_1_port: + - pd_server_1_port - dependency - dependency_pd_server_port_2: - - pd_server_port_2 - - dependency
\ No newline at end of file + link_pd_server_1_port: + - pd_server_1_port + - link |