diff options
author | 2018-11-29 20:46:49 +0530 | |
---|---|---|
committer | 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/mixPatterns/oneAppearancePerPattern/out | |
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/mixPatterns/oneAppearancePerPattern/out')
8 files changed, 1319 insertions, 1319 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/GlobalSubstitutionTypesServiceTemplate.yaml index 5e7d30fe60..e91c84e002 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/GlobalSubstitutionTypesServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/GlobalSubstitutionTypesServiceTemplate.yaml @@ -2128,86 +2128,78 @@ node_types: org.openecomp.resource.abstract.nodes.1c2_catalog_instance: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_1c2_t2_port_order: - type: integer - required: true - status: SUPPORTED - compute_1c2_catalog_instance_availability_zone: + port_1c2_catalog_instance_t1_port_0_network: type: list required: true status: SUPPORTED entry_schema: type: string - port_1c2_t2_port_subnetpoolid: - type: string + port_1c2_catalog_instance_t2_port_0_vlan_requirements: + type: list required: true status: SUPPORTED - port_1c2_t1_port_related_networks: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_1c2_catalog_instance_availability_zone: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c2_t2_port_network_role: - type: string + type: string + port_1c2_catalog_instance_t1_port_0_ip_requirements: + type: list required: true status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements vm_flavor_name: type: string required: true status: SUPPORTED - port_1c2_t2_port_network_role_tag: + port_1c2_catalog_instance_t2_port_0_network_role_tag: type: string required: true status: SUPPORTED - port_1c2_t1_port_vlan_requirements: + port_1c2_catalog_instance_t2_port_0_network: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: string vm_image_name: type: string required: true status: SUPPORTED - port_1c2_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_1c2_catalog_instance_t1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - port_1c2_t1_port_order: - type: integer + port_1c2_catalog_instance_t2_port_0_network_role: + type: string required: true status: SUPPORTED - port_1c2_t1_port_subnetpoolid: + port_1c2_catalog_instance_t1_port_0_subnetpoolid: type: string required: true status: SUPPORTED - port_1c2_t2_port_ip_requirements: - type: list + port_1c2_catalog_instance_t2_port_0_order: + type: integer required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1c2_t2_port_related_networks: + port_1c2_catalog_instance_t2_port_0_related_networks: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c2_t1_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_1c2_t1_port_network_role: - type: string + port_1c2_catalog_instance_t1_port_0_order: + type: integer required: true status: SUPPORTED - port_1c2_t2_port_network: - type: list + port_1c2_catalog_instance_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: string index_value: type: integer description: Index value of this substitution service template runtime instance @@ -2222,42 +2214,50 @@ node_types: status: SUPPORTED entry_schema: type: string - port_1c2_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_1c2_catalog_instance_t2_port_0_ip_requirements: + type: list required: true status: SUPPORTED - port_1c2_t1_port_network: + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_1c2_catalog_instance_t1_port_0_related_networks: type: list required: true status: SUPPORTED entry_schema: - type: string - port_1c2_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_1c2_catalog_instance_t2_port_0_subnetpoolid: + type: string required: true status: SUPPORTED - port_1c2_t2_port_vlan_requirements: - type: list + port_1c2_catalog_instance_t1_port_0_network_role: + type: string + required: true + status: SUPPORTED + port_1c2_catalog_instance_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements compute_1c2_catalog_instance_user_data_format: type: list required: true status: SUPPORTED entry_schema: type: string - port_1c2_t1_port_network_role_tag: - type: string - required: true - status: SUPPORTED - port_1c2_t1_port_ip_requirements: + port_1c2_catalog_instance_t1_port_0_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements + type: org.openecomp.datatypes.network.VlanRequirements + port_1c2_catalog_instance_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_1c2_catalog_instance_t1_port_0_network_role_tag: + type: string + required: true + status: SUPPORTED compute_1c2_catalog_instance_scheduler_hints: type: list required: true @@ -2268,7 +2268,7 @@ node_types: 1c2_catalog_instance_instance_name: type: string status: SUPPORTED - 1c2_catalog_instance_1c2_t1_port_tenant_id: + 1c2_catalog_instance_1c2_catalog_instance_t1_port_0_tenant_id: type: string status: SUPPORTED requirements: @@ -2286,27 +2286,27 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_1c2_catalog_instance_1c2_t2_port: + - dependency_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_1c2_catalog_instance_1c2_t2_port: + - link_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: - 1 - 1 - - dependency_1c2_catalog_instance_1c2_t1_port: + - dependency_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_1c2_catalog_instance_1c2_t1_port: + - link_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -2319,12 +2319,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_1c2_catalog_instance_1c2_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.read.bytes.rate_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2337,9 +2331,8 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_1c2_catalog_instance_1c2_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED @@ -2349,73 +2342,78 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_1c2_catalog_instance_1c2_t2_port: + cpu_util_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - binding_1c2_catalog_instance_1c2_t2_port: - 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 + network.incoming.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - - 0 + - 1 - UNBOUNDED - network.incoming.packets_1c2_catalog_instance_1c2_t1_port: + cpu_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - cpu_util_1c2_catalog_instance: + disk.read.requests_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outpoing.packets_1c2_catalog_instance_1c2_t2_port: + network.outpoing.packets_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - feature_1c2_catalog_instance_1c2_t1_port: - type: tosca.capabilities.Node + disk.ephemeral.size_1c2_catalog_instance: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - attachment_1c2_catalog_instance_1c2_t1_port: - type: tosca.capabilities.Attachment + disk.device.write.bytes_1c2_catalog_instance: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes_1c2_catalog_instance_1c2_t2_port: + memory.resident_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - cpu_1c2_catalog_instance: + network.outpoing.packets_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.read.requests_1c2_catalog_instance: + disk.device.write.requests.rate_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_1c2_catalog_instance_1c2_t1_port: + os_1c2_catalog_instance: + type: tosca.capabilities.OperatingSystem + occurrences: + - 1 + - UNBOUNDED + disk.device.iops_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - binding_1c2_catalog_instance_1c2_t1_port: + binding_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: tosca.capabilities.network.Bindable valid_source_types: - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface @@ -2423,42 +2421,30 @@ node_types: occurrences: - 0 - UNBOUNDED - disk.ephemeral.size_1c2_catalog_instance: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + feature_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + type: tosca.capabilities.Node occurrences: - 1 - UNBOUNDED - disk.device.write.bytes_1c2_catalog_instance: + network.outgoing.bytes_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - memory.resident_1c2_catalog_instance: + network.outgoing.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.write.requests.rate_1c2_catalog_instance: + network.outgoing.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes_1c2_catalog_instance_1c2_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - os_1c2_catalog_instance: - type: tosca.capabilities.OperatingSystem - occurrences: - - 1 - - UNBOUNDED - disk.device.iops_1c2_catalog_instance: + network.incoming.packets_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -2475,19 +2461,19 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.latency_1c2_catalog_instance: + network.incoming.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_1c2_catalog_instance_1c2_t1_port: + disk.latency_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_1c2_catalog_instance_1c2_t1_port: + network.incoming.bytes_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -2499,15 +2485,13 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_1c2_catalog_instance_1c2_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + forwarder_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + type: org.openecomp.capabilities.Forwarder occurrences: - 1 - UNBOUNDED - network.incoming.packets_1c2_catalog_instance_1c2_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED @@ -2523,29 +2507,19 @@ node_types: occurrences: - 1 - UNBOUNDED - attachment_1c2_catalog_instance_1c2_t2_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED - forwarder_1c2_catalog_instance_1c2_t1_port: - type: org.openecomp.capabilities.Forwarder - occurrences: - - 1 - - UNBOUNDED - network.outgoing.packets.rate_1c2_catalog_instance_1c2_t1_port: + disk.read.bytes_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.read.bytes_1c2_catalog_instance: + instance_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - instance_1c2_catalog_instance: + network.incoming.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -2569,11 +2543,6 @@ node_types: occurrences: - 1 - UNBOUNDED - forwarder_1c2_catalog_instance_1c2_t2_port: - type: org.openecomp.capabilities.Forwarder - occurrences: - - 1 - - UNBOUNDED disk.device.allocation_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2586,12 +2555,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_1c2_catalog_instance_1c2_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.device.read.requests_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2634,29 +2597,54 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_1c2_catalog_instance_1c2_t2_port: + binding_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + 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 + network.incoming.packets_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.usage_1c2_catalog_instance: + feature_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.outgoing.bytes_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - feature_1c2_catalog_instance: - type: tosca.capabilities.Node + network.outgoing.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_1c2_catalog_instance_1c2_t1_port: + disk.usage_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED + network.outgoing.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + feature_1c2_catalog_instance: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED memory_1c2_catalog_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -2686,8 +2674,20 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_1c2_catalog_instance_1c2_t2_port: - type: tosca.capabilities.Node + forwarder_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: org.openecomp.capabilities.Forwarder + occurrences: + - 1 + - UNBOUNDED + network.incoming.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED @@ -2700,16 +2700,16 @@ node_types: org.openecomp.resource.abstract.nodes.pcma_server_1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_pcm_port_0_network_role: - type: string - required: true - status: SUPPORTED port_pcm_port_1_related_networks: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_pcm_port_0_network_role: + type: string + required: true + status: SUPPORTED port_pcm_port_1_network_role_tag: type: string required: true @@ -2768,11 +2768,11 @@ node_types: type: string required: true status: SUPPORTED - port_pcm_port_0_exCP_naming: + port_pcm_port_1_exCP_naming: type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - port_pcm_port_1_exCP_naming: + port_pcm_port_0_exCP_naming: type: org.openecomp.datatypes.Naming required: true status: SUPPORTED @@ -2786,18 +2786,18 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pcm_port_0_ip_requirements: + port_pcm_port_1_security_groups: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pcm_port_1_security_groups: + type: json + port_pcm_port_0_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: json + type: org.openecomp.datatypes.network.IpRequirements compute_pcma_server_config_drive: type: list required: true @@ -2846,16 +2846,16 @@ node_types: status: SUPPORTED entry_schema: type: string - port_pcm_port_0_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED port_pcm_port_1_ip_requirements: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_pcm_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED port_pcm_port_1_order: type: integer required: true @@ -3289,43 +3289,55 @@ node_types: org.openecomp.resource.abstract.nodes.b_single_1b: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_1b_t1_port_order: - type: integer + port_b_single_1b_t1_port_0_network_role_tag: + type: string required: true status: SUPPORTED - port_1b_t1_port_network_role: + port_b_single_1b_t1_port_0_related_networks: + type: list + required: true + status: SUPPORTED + entry_schema: + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_b_single_1b_t2_port_0_subnetpoolid: type: string required: true status: SUPPORTED - port_1b_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_b_single_1b_t1_port_0_network_role: + type: string required: true status: SUPPORTED + port_b_single_1b_t2_port_0_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string vm_flavor_name: type: string required: true status: SUPPORTED - port_1b_t2_port_related_networks: + port_b_single_1b_t1_port_0_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t1_port_ip_requirements: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_related_networks: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements + type: org.openecomp.datatypes.network.RelatedNetworksAssignments vm_image_name: type: string required: true status: SUPPORTED - port_1b_t2_port_network_role: - type: string + port_b_single_1b_t2_port_0_order: + type: integer required: true status: SUPPORTED - port_1b_t2_port_order: + port_b_single_1b_t1_port_0_order: type: integer required: true status: SUPPORTED @@ -3335,34 +3347,32 @@ node_types: status: SUPPORTED entry_schema: type: string - port_1b_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_1b_t2_port_network_role_tag: - type: string + port_b_single_1b_t2_port_0_vlan_requirements: + type: list required: true status: SUPPORTED - port_1b_t2_port_subnetpoolid: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_network_role: type: string required: true status: SUPPORTED - port_1b_t1_port_related_networks: + port_b_single_1b_t1_port_0_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED + type: org.openecomp.datatypes.network.IpRequirements compute_b_single_1b_availability_zone: type: list required: true status: SUPPORTED entry_schema: type: string + port_b_single_1b_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED index_value: type: integer description: Index value of this substitution service template runtime instance @@ -3377,42 +3387,32 @@ node_types: status: SUPPORTED entry_schema: type: json - port_1b_t2_port_vlan_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1b_t2_port_ip_requirements: - type: list + port_b_single_1b_t1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1b_t1_port_network_role_tag: + port_b_single_1b_t1_port_0_subnetpoolid: type: string required: true status: SUPPORTED - port_1b_t1_port_subnetpoolid: + port_b_single_1b_t2_port_0_network_role_tag: type: string required: true status: SUPPORTED - port_1b_t1_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_1b_t2_port_network: + port_b_single_1b_t2_port_0_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: string - port_1b_t1_port_vlan_requirements: - type: list + type: org.openecomp.datatypes.network.IpRequirements + port_b_single_1b_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_b_single_1b_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements compute_b_single_1b_name: type: list required: true @@ -3423,7 +3423,7 @@ node_types: b_single_1b_instance_name: type: string status: SUPPORTED - b_single_1b_1b_t1_port_tenant_id: + b_single_1b_b_single_1b_t1_port_0_tenant_id: type: string status: SUPPORTED requirements: @@ -3441,43 +3441,33 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_b_single_1b_1b_t1_port: + - dependency_b_single_1b_b_single_1b_t2_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_b_single_1b_1b_t1_port: + - link_b_single_1b_b_single_1b_t2_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: - 1 - 1 - - dependency_b_single_1b_1b_t2_port: + - dependency_b_single_1b_b_single_1b_t1_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_b_single_1b_1b_t2_port: + - link_b_single_1b_b_single_1b_t1_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: - 1 - 1 capabilities: - attachment_b_single_1b_1b_t2_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED - forwarder_b_single_1b_1b_t2_port: - type: org.openecomp.capabilities.Forwarder - occurrences: - - 1 - - UNBOUNDED endpoint_b_single_1b: type: tosca.capabilities.Endpoint.Admin occurrences: @@ -3494,23 +3484,56 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_b_single_1b_1b_t2_port: + network.incoming.bytes_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_b_single_1b_1b_t2_port: + network.incoming.packets.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - forwarder_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.Forwarder + network.incoming.bytes_b_single_1b_b_single_1b_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED + binding_b_single_1b_b_single_1b_t1_port_0: + 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 + feature_b_single_1b_b_single_1b_t2_port_0: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + feature_b_single_1b_b_single_1b_t1_port_0: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_b_single_1b_b_single_1b_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_b_single_1b_b_single_1b_t2_port_0: + 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 scalable_b_single_1b: type: tosca.capabilities.Scalable occurrences: @@ -3527,6 +3550,16 @@ node_types: occurrences: - 1 - UNBOUNDED + forwarder_b_single_1b_b_single_1b_t2_port_0: + type: org.openecomp.capabilities.Forwarder + occurrences: + - 1 + - UNBOUNDED + forwarder_b_single_1b_b_single_1b_t1_port_0: + type: org.openecomp.capabilities.Forwarder + occurrences: + - 1 + - UNBOUNDED vcpus_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -3539,25 +3572,25 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.read.requests.rate_b_single_1b: + network.incoming.bytes.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_b_single_1b_1b_t2_port: + disk.device.read.requests.rate_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - instance_b_single_1b: + network.incoming.packets.rate_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_b_single_1b_1b_t1_port: + instance_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3581,49 +3614,43 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.device.allocation_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_b_single_1b_1b_t2_port: + network.outgoing.packets.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.capacity_b_single_1b: + network.outpoing.packets_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.latency_b_single_1b: + network.outgoing.bytes_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets_b_single_1b_1b_t2_port: + disk.device.capacity_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_b_single_1b_1b_t1_port: + disk.latency_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - attachment_b_single_1b_1b_t1_port: + attachment_b_single_1b_b_single_1b_t1_port_0: type: tosca.capabilities.Attachment occurrences: - 1 @@ -3634,14 +3661,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_b_single_1b_1b_t2_port: - 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 disk.ephemeral.size_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -3654,25 +3673,25 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_b_single_1b_1b_t2_port: + disk.device.iops_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.iops_b_single_1b: + disk.read.requests_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.read.requests_b_single_1b: + memory.resident_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - memory.resident_b_single_1b: + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3684,12 +3703,13 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_b_single_1b_1b_t1_port: - type: tosca.capabilities.Node + network.incoming.packets_b_single_1b_b_single_1b_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_b_single_1b_1b_t2_port: + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3731,7 +3751,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_b_single_1b_1b_t1_port: + network.incoming.packets_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3749,63 +3769,48 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.device.read.requests_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_b_single_1b_b_single_1b_t2_port_0: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED - binding_b_single_1b_1b_t1_port: - 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 - network.outpoing.packets_b_single_1b_1b_t1_port: + disk.device.write.requests.rate_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.write.requests.rate_b_single_1b: + network.outgoing.packets.rate_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - memory.usage_b_single_1b: + network.outpoing.packets_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.write.bytes.rate_b_single_1b: + memory.usage_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes_b_single_1b_1b_t2_port: + network.outgoing.bytes_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_b_single_1b_1b_t1_port: + disk.write.bytes.rate_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -3847,112 +3852,91 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_b_single_1b_1b_t2_port: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED org.openecomp.resource.abstract.nodes.1c1_scalling_instance: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_1c1_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_1c1_t2_port_vlan_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements compute_1c1_scalling_instance_user_data_format: type: list required: true status: SUPPORTED entry_schema: type: string - port_1c1_t2_port_related_networks: + port_1c1_scalling_instance_t1_port_0_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c1_t2_port_network_role_tag: - type: string - required: true - status: SUPPORTED - vm_flavor_name: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_1c1_scalling_instance_t1_port_0_network_role_tag: type: string required: true status: SUPPORTED - port_1c1_t1_port_related_networks: + port_1c1_scalling_instance_t2_port_0_related_networks: type: list required: true status: SUPPORTED entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c1_t1_port_ip_requirements: + port_1c1_scalling_instance_t1_port_0_network: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - vm_image_name: + type: string + vm_flavor_name: type: string required: true status: SUPPORTED - compute_1c1_scalling_instance_name: + port_1c1_scalling_instance_t2_port_0_fixed_ips: type: list required: true status: SUPPORTED entry_schema: - type: string - port_1c1_t1_port_name: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_1c1_scalling_instance_t1_port_0_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: string - port_1c1_t1_port_network: - type: list + type: org.openecomp.datatypes.network.IpRequirements + port_1c1_scalling_instance_t1_port_0_network_role: + type: string required: true status: SUPPORTED - entry_schema: - type: string - port_1c1_t2_port_fixed_ips: - type: list + port_1c1_scalling_instance_t2_port_0_subnetpoolid: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_1c1_t2_port_network: - type: list + port_1c1_scalling_instance_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: string - port_1c1_t1_port_fixed_ips: - type: list + vm_image_name: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_1c1_t1_port_vlan_requirements: + compute_1c1_scalling_instance_name: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1c1_t2_port_ip_requirements: - type: list + type: string + port_1c1_scalling_instance_t2_port_0_network_role: + type: string required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1c1_t1_port_mac_requirements: + port_1c1_scalling_instance_t1_port_0_mac_requirements: type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED + port_1c1_scalling_instance_t1_port_0_subnetpoolid: + type: string + required: true + status: SUPPORTED + port_1c1_scalling_instance_t2_port_0_order: + type: integer + required: true + status: SUPPORTED index_value: type: integer description: Index value of this substitution service template runtime instance @@ -3961,76 +3945,92 @@ node_types: status: SUPPORTED constraints: - greater_or_equal: 0 - port_1c1_t2_port_network_role: - type: string + port_1c1_scalling_instance_t1_port_0_order: + type: integer required: true status: SUPPORTED - port_1c1_t2_port_order: - type: integer + port_1c1_scalling_instance_t2_port_0_vlan_requirements: + type: list required: true status: SUPPORTED - port_1c1_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_1c1_scalling_instance_t1_port_0_name: + type: list required: true status: SUPPORTED + entry_schema: + type: string compute_1c1_scalling_instance_availability_zone: type: list required: true status: SUPPORTED entry_schema: type: string - port_1c1_t2_port_subnetpoolid: - type: string + port_1c1_scalling_instance_t2_port_0_ip_requirements: + type: list required: true status: SUPPORTED - port_1c1_t2_port_name: + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_1c1_scalling_instance_t2_port_0_name: type: list required: true status: SUPPORTED entry_schema: type: string + port_1c1_scalling_instance_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED + port_1c1_scalling_instance_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED compute_1c1_scalling_instance_scheduler_hints: type: list required: true status: SUPPORTED entry_schema: type: json - port_1c1_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_1c1_t1_port_subnetpoolid: - type: string + port_1c1_scalling_instance_t1_port_0_vlan_requirements: + type: list required: true status: SUPPORTED - port_1c1_t1_port_network_role_tag: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_1c1_scalling_instance_t2_port_0_network_role_tag: type: string required: true status: SUPPORTED - port_1c1_t1_port_network_role: - type: string + port_1c1_scalling_instance_t1_port_0_related_networks: + type: list required: true status: SUPPORTED - port_1c1_t1_port_order: - type: integer + entry_schema: + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_1c1_scalling_instance_t2_port_0_network: + type: list required: true status: SUPPORTED + entry_schema: + type: string attributes: 1c1_scalling_instance_instance_name: type: string status: SUPPORTED - 1c1_scalling_instance_1c1_t2_port_tenant_id: + 1c1_scalling_instance_1c1_scalling_instance_t2_port_0_tenant_id: type: string status: SUPPORTED requirements: - - dependency_1c1_scalling_instance_1c1_t1_port: + - dependency_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_1c1_scalling_instance_1c1_t1_port: + - link_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -4050,14 +4050,14 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_1c1_scalling_instance_1c1_t2_port: + - dependency_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_1c1_scalling_instance_1c1_t2_port: + - link_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: @@ -4093,17 +4093,26 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_1c1_scalling_instance_1c1_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_1c1_scalling_instance_1c1_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + binding_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + 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: - - 1 + - 0 + - UNBOUNDED + binding_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + 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 disk.usage_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer @@ -4111,13 +4120,12 @@ node_types: occurrences: - 1 - UNBOUNDED - memory.resident_1c1_scalling_instance: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + forwarder_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + type: org.openecomp.capabilities.Forwarder occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_1c1_scalling_instance_1c1_t2_port: + memory.resident_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4129,7 +4137,7 @@ node_types: occurrences: - 1 - UNBOUNDED - forwarder_1c1_scalling_instance_1c1_t2_port: + forwarder_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.Forwarder occurrences: - 1 @@ -4140,18 +4148,6 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_1c1_scalling_instance_1c1_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED - network.incoming.bytes_1c1_scalling_instance_1c1_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.write.bytes.rate_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4164,7 +4160,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_1c1_scalling_instance_1c1_t1_port: + network.outgoing.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4175,24 +4171,19 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.write.requests.rate_1c1_scalling_instance: + network.outgoing.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - forwarder_1c1_scalling_instance_1c1_t1_port: - type: org.openecomp.capabilities.Forwarder - occurrences: - - 1 - - UNBOUNDED - disk.read.bytes.rate_1c1_scalling_instance: + disk.device.write.requests.rate_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outpoing.packets_1c1_scalling_instance_1c1_t2_port: + disk.read.bytes.rate_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4209,14 +4200,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_1c1_scalling_instance_1c1_t2_port: - 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 disk.device.write.bytes_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4229,19 +4212,13 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets_1c1_scalling_instance_1c1_t2_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED vcpus_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_1c1_scalling_instance_1c1_t1_port: + network.incoming.packets_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4254,33 +4231,38 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED disk.write.requests_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - feature_1c1_scalling_instance_1c1_t1_port: - type: tosca.capabilities.Node + network.incoming.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - binding_1c1_scalling_instance_1c1_t1_port: - 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 + feature_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + type: tosca.capabilities.Node occurrences: - - 0 + - 1 - UNBOUNDED - disk.device.read.requests.rate_1c1_scalling_instance: + network.outpoing.packets_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - attachment_1c1_scalling_instance_1c1_t2_port: - type: tosca.capabilities.Attachment + disk.device.read.requests.rate_1c1_scalling_instance: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED @@ -4290,12 +4272,17 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_1c1_scalling_instance_1c1_t1_port: + network.incoming.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED + attachment_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + type: tosca.capabilities.Attachment + occurrences: + - 1 + - UNBOUNDED disk.device.iops_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4308,6 +4295,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.incoming.bytes_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED disk.capacity_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4326,6 +4319,12 @@ node_types: occurrences: - 1 - UNBOUNDED + network.outgoing.bytes_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED disk.device.read.requests_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -4338,19 +4337,19 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.write.requests_1c1_scalling_instance: + network.outgoing.bytes_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_1c1_scalling_instance_1c1_t1_port: + network.incoming.packets_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_1c1_scalling_instance_1c1_t2_port: + disk.device.write.requests_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -4373,70 +4372,71 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.packets_1c1_scalling_instance_1c1_t1_port: + disk.allocation_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.allocation_1c1_scalling_instance: + memory.usage_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - feature_1c1_scalling_instance_1c1_t2_port: - type: tosca.capabilities.Node + os_1c1_scalling_instance: + type: tosca.capabilities.OperatingSystem occurrences: - 1 - UNBOUNDED - memory.usage_1c1_scalling_instance: + disk.iops_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes_1c1_scalling_instance_1c1_t2_port: + network.outgoing.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_1c1_scalling_instance_1c1_t2_port: + network.outpoing.packets_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - os_1c1_scalling_instance: - type: tosca.capabilities.OperatingSystem + cpu.delta_1c1_scalling_instance: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.iops_1c1_scalling_instance: + memory_1c1_scalling_instance: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outpoing.packets_1c1_scalling_instance_1c1_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + feature_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + type: tosca.capabilities.Node occurrences: - 1 - UNBOUNDED - attachment_1c1_scalling_instance_1c1_t1_port: - type: tosca.capabilities.Attachment + network.incoming.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - cpu.delta_1c1_scalling_instance: + network.incoming.bytes_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - memory_1c1_scalling_instance: + network.incoming.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5023,43 +5023,55 @@ node_types: org.openecomp.resource.abstract.nodes.b_single_1b_1: derived_from: org.openecomp.resource.abstract.nodes.VFC properties: - port_1b_t1_port_order: - type: integer + port_b_single_1b_t1_port_0_network_role_tag: + type: string + required: true + status: SUPPORTED + port_b_single_1b_t1_port_0_related_networks: + type: list required: true status: SUPPORTED - port_1b_t1_port_network_role: + entry_schema: + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_b_single_1b_t2_port_0_subnetpoolid: type: string required: true status: SUPPORTED - port_1b_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_b_single_1b_t1_port_0_network_role: + type: string required: true status: SUPPORTED + port_b_single_1b_t2_port_0_network: + type: list + required: true + status: SUPPORTED + entry_schema: + type: string vm_flavor_name: type: string required: true status: SUPPORTED - port_1b_t2_port_related_networks: + port_b_single_1b_t1_port_0_vlan_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t1_port_ip_requirements: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_related_networks: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.IpRequirements + type: org.openecomp.datatypes.network.RelatedNetworksAssignments vm_image_name: type: string required: true status: SUPPORTED - port_1b_t2_port_network_role: - type: string + port_b_single_1b_t2_port_0_order: + type: integer required: true status: SUPPORTED - port_1b_t2_port_order: + port_b_single_1b_t1_port_0_order: type: integer required: true status: SUPPORTED @@ -5069,34 +5081,32 @@ node_types: status: SUPPORTED entry_schema: type: string - port_1b_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - status: SUPPORTED - port_1b_t2_port_network_role_tag: - type: string + port_b_single_1b_t2_port_0_vlan_requirements: + type: list required: true status: SUPPORTED - port_1b_t2_port_subnetpoolid: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_network_role: type: string required: true status: SUPPORTED - port_1b_t1_port_related_networks: + port_b_single_1b_t1_port_0_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED + type: org.openecomp.datatypes.network.IpRequirements compute_b_single_1b_availability_zone: type: list required: true status: SUPPORTED entry_schema: type: string + port_b_single_1b_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + status: SUPPORTED index_value: type: integer description: Index value of this substitution service template runtime instance @@ -5111,48 +5121,38 @@ node_types: status: SUPPORTED entry_schema: type: json - port_1b_t2_port_vlan_requirements: - type: list - required: true - status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1b_t2_port_ip_requirements: - type: list + port_b_single_1b_t1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true status: SUPPORTED - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1b_t1_port_network_role_tag: + port_b_single_1b_t1_port_0_subnetpoolid: type: string required: true status: SUPPORTED - port_1b_t1_port_subnetpoolid: + port_b_single_1b_t2_port_0_network_role_tag: type: string required: true status: SUPPORTED - port_1b_t1_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - status: SUPPORTED - port_1b_t2_port_network: + port_b_single_1b_t1_port_0_network: type: list required: true status: SUPPORTED entry_schema: type: string - port_1b_t1_port_vlan_requirements: + port_b_single_1b_t2_port_0_ip_requirements: type: list required: true status: SUPPORTED entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1b_t1_port_network: - type: list + type: org.openecomp.datatypes.network.IpRequirements + port_b_single_1b_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + status: SUPPORTED + port_b_single_1b_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming required: true status: SUPPORTED - entry_schema: - type: string compute_b_single_1b_name: type: list required: true @@ -5163,7 +5163,7 @@ node_types: b_single_1b_instance_name: type: string status: SUPPORTED - b_single_1b_1b_t1_port_tenant_id: + b_single_1b_b_single_1b_t1_port_0_tenant_id: type: string status: SUPPORTED requirements: @@ -5181,43 +5181,33 @@ node_types: occurrences: - 0 - UNBOUNDED - - dependency_b_single_1b_1b_t1_port: + - dependency_b_single_1b_b_single_1b_t2_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_b_single_1b_1b_t1_port: + - link_b_single_1b_b_single_1b_t2_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: - 1 - 1 - - dependency_b_single_1b_1b_t2_port: + - dependency_b_single_1b_b_single_1b_t1_port_0: capability: tosca.capabilities.Node node: tosca.nodes.Root relationship: tosca.relationships.DependsOn occurrences: - 0 - UNBOUNDED - - link_b_single_1b_1b_t2_port: + - link_b_single_1b_b_single_1b_t1_port_0: capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo occurrences: - 1 - 1 capabilities: - attachment_b_single_1b_1b_t2_port: - type: tosca.capabilities.Attachment - occurrences: - - 1 - - UNBOUNDED - forwarder_b_single_1b_1b_t2_port: - type: org.openecomp.capabilities.Forwarder - occurrences: - - 1 - - UNBOUNDED endpoint_b_single_1b: type: tosca.capabilities.Endpoint.Admin occurrences: @@ -5234,23 +5224,56 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_b_single_1b_1b_t2_port: + network.incoming.bytes_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_b_single_1b_1b_t2_port: + network.incoming.packets.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - forwarder_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.Forwarder + network.incoming.bytes_b_single_1b_b_single_1b_t2_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_b_single_1b_b_single_1b_t1_port_0: + 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 + feature_b_single_1b_b_single_1b_t2_port_0: + type: tosca.capabilities.Node occurrences: - 1 - UNBOUNDED + feature_b_single_1b_b_single_1b_t1_port_0: + type: tosca.capabilities.Node + occurrences: + - 1 + - UNBOUNDED + network.incoming.bytes.rate_b_single_1b_b_single_1b_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + occurrences: + - 1 + - UNBOUNDED + binding_b_single_1b_b_single_1b_t2_port_0: + 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 scalable_b_single_1b: type: tosca.capabilities.Scalable occurrences: @@ -5267,6 +5290,16 @@ node_types: occurrences: - 1 - UNBOUNDED + forwarder_b_single_1b_b_single_1b_t2_port_0: + type: org.openecomp.capabilities.Forwarder + occurrences: + - 1 + - UNBOUNDED + forwarder_b_single_1b_b_single_1b_t1_port_0: + type: org.openecomp.capabilities.Forwarder + occurrences: + - 1 + - UNBOUNDED vcpus_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5279,25 +5312,25 @@ node_types: occurrences: - 1 - UNBOUNDED - disk.device.read.requests.rate_b_single_1b: + network.incoming.bytes.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_b_single_1b_1b_t2_port: + disk.device.read.requests.rate_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - instance_b_single_1b: + network.incoming.packets.rate_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes.rate_b_single_1b_1b_t1_port: + instance_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5321,49 +5354,43 @@ node_types: occurrences: - 1 - UNBOUNDED - network.incoming.bytes_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.device.allocation_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_b_single_1b_1b_t2_port: + network.outgoing.packets.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.capacity_b_single_1b: + network.outpoing.packets_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.latency_b_single_1b: + network.outgoing.bytes_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets_b_single_1b_1b_t2_port: + disk.device.capacity_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets.rate_b_single_1b_1b_t1_port: + disk.latency_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - attachment_b_single_1b_1b_t1_port: + attachment_b_single_1b_b_single_1b_t1_port_0: type: tosca.capabilities.Attachment occurrences: - 1 @@ -5374,14 +5401,6 @@ node_types: occurrences: - 1 - UNBOUNDED - binding_b_single_1b_1b_t2_port: - 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 disk.ephemeral.size_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. @@ -5394,25 +5413,25 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outpoing.packets_b_single_1b_1b_t2_port: + disk.device.iops_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.iops_b_single_1b: + disk.read.requests_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.read.requests_b_single_1b: + memory.resident_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - memory.resident_b_single_1b: + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5424,12 +5443,13 @@ node_types: occurrences: - 1 - UNBOUNDED - feature_b_single_1b_1b_t1_port: - type: tosca.capabilities.Node + network.incoming.packets_b_single_1b_b_single_1b_t1_port_0: + type: org.openecomp.capabilities.metric.Ceilometer + description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_b_single_1b_1b_t2_port: + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5471,7 +5491,7 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.packets.rate_b_single_1b_1b_t1_port: + network.incoming.packets_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5489,63 +5509,48 @@ node_types: occurrences: - 1 - UNBOUNDED - network.outgoing.bytes_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. - occurrences: - - 1 - - UNBOUNDED disk.device.read.requests_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.packets_b_single_1b_1b_t1_port: - type: org.openecomp.capabilities.metric.Ceilometer - description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. + attachment_b_single_1b_b_single_1b_t2_port_0: + type: tosca.capabilities.Attachment occurrences: - 1 - UNBOUNDED - binding_b_single_1b_1b_t1_port: - 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 - network.outpoing.packets_b_single_1b_1b_t1_port: + disk.device.write.requests.rate_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.device.write.requests.rate_b_single_1b: + network.outgoing.packets.rate_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - memory.usage_b_single_1b: + network.outpoing.packets_b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - disk.write.bytes.rate_b_single_1b: + memory.usage_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.incoming.bytes_b_single_1b_1b_t2_port: + network.outgoing.bytes_b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: - 1 - UNBOUNDED - network.outgoing.bytes.rate_b_single_1b_1b_t1_port: + disk.write.bytes.rate_b_single_1b: type: org.openecomp.capabilities.metric.Ceilometer description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer. occurrences: @@ -5586,9 +5591,4 @@ node_types: type: tosca.capabilities.network.Bindable occurrences: - 1 - - UNBOUNDED - feature_b_single_1b_1b_t2_port: - type: tosca.capabilities.Node - occurrences: - - 1 - UNBOUNDED
\ 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/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml index e9a5f1bb52..ff015e9fbe 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/MainServiceTemplate.yaml @@ -216,36 +216,36 @@ topology_template: directives: - substitutable properties: + port_b_single_1b_t2_port_0_network: + - b_single_1b_network vm_flavor_name: get_input: pd_flavor_name - port_1b_t1_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: false - floating_ip_count_required: - is_required: false vm_image_name: get_input: pd_image_name compute_b_single_1b_user_data_format: - RAW - port_1b_t2_port_mac_requirements: - mac_count_required: + port_b_single_1b_t1_port_0_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: is_required: false compute_b_single_1b_availability_zone: - get_input: availabilityzone_name compute_b_single_1b_scheduler_hints: - group: BE_Affinity_group - port_1b_t2_port_ip_requirements: + port_b_single_1b_t1_port_0_mac_requirements: + mac_count_required: + is_required: false + port_b_single_1b_t2_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: false floating_ip_count_required: is_required: false - port_1b_t1_port_mac_requirements: + port_b_single_1b_t2_port_0_mac_requirements: mac_count_required: is_required: false - port_1b_t2_port_network: - - b_single_1b_network compute_b_single_1b_name: - get_input: - b_single_1b_names @@ -259,7 +259,7 @@ topology_template: - service_template_filter - index_value requirements: - - link_b_single_1b_1b_t2_port: + - link_b_single_1b_b_single_1b_t2_port_0: capability: tosca.capabilities.network.Linkable node: b_single_1b_network relationship: tosca.relationships.network.LinksTo @@ -271,31 +271,7 @@ topology_template: compute_1c1_scalling_instance_user_data_format: - RAW2 - RAW1 - port_1c1_t2_port_network_role_tag: ppds - vm_flavor_name: - get_input: pd_flavor_name - port_1c1_t1_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: true - floating_ip_count_required: - is_required: false - vm_image_name: - get_input: pd_image_name - compute_1c1_scalling_instance_name: - - get_input: - - 1c1_scalling_instance_names - - 2 - - get_input: - - 1c1_scalling_instance_names - - 1 - port_1c1_t1_port_name: - - 1c1_t1_port_1 - - 1c1_t1_port_0 - port_1c1_t1_port_network: - - 1c1_scalling_instance_network - - 1c1_scalling_instance_network - port_1c1_t2_port_fixed_ips: + port_1c1_scalling_instance_t1_port_0_fixed_ips: - - ip_address: get_input: - myIPs @@ -304,10 +280,12 @@ topology_template: get_input: - myIPs - 1 - port_1c1_t2_port_network: - - get_input: ppds_net_name - - get_input: ppds_net_name - port_1c1_t1_port_fixed_ips: + port_1c1_scalling_instance_t1_port_0_network: + - 1c1_scalling_instance_network + - 1c1_scalling_instance_network + vm_flavor_name: + get_input: pd_flavor_name + port_1c1_scalling_instance_t2_port_0_fixed_ips: - - ip_address: get_input: - myIPs @@ -316,27 +294,49 @@ topology_template: get_input: - myIPs - 1 - port_1c1_t2_port_ip_requirements: + port_1c1_scalling_instance_t1_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false - port_1c1_t1_port_mac_requirements: + port_1c1_scalling_instance_t2_port_0_mac_requirements: mac_count_required: is_required: false - port_1c1_t2_port_mac_requirements: + vm_image_name: + get_input: pd_image_name + compute_1c1_scalling_instance_name: + - get_input: + - 1c1_scalling_instance_names + - 2 + - get_input: + - 1c1_scalling_instance_names + - 1 + port_1c1_scalling_instance_t1_port_0_mac_requirements: mac_count_required: is_required: false + port_1c1_scalling_instance_t1_port_0_name: + - 1c1_scalling_instance_1_t1_port_0 + - 1c1_scalling_instance_0_t1_port_0 compute_1c1_scalling_instance_availability_zone: - get_input: availabilityzone_name - get_input: availabilityzone_name - port_1c1_t2_port_name: - - 1c1_t2_port_1 - - 1c1_t2_port_0 + port_1c1_scalling_instance_t2_port_0_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: true + floating_ip_count_required: + is_required: false + port_1c1_scalling_instance_t2_port_0_name: + - 1c1_scalling_instance_1_t2_port_0 + - 1c1_scalling_instance_0_t2_port_0 compute_1c1_scalling_instance_scheduler_hints: - group: BE_Affinity_group - group: BE_Affinity_group + port_1c1_scalling_instance_t2_port_0_network_role_tag: ppds + port_1c1_scalling_instance_t2_port_0_network: + - get_input: ppds_net_name + - get_input: ppds_net_name service_template_filter: substitute_service_template: Nested_1c1_scalling_instanceServiceTemplate.yaml count: 2 @@ -346,7 +346,7 @@ topology_template: - service_template_filter - index_value requirements: - - link_1c1_scalling_instance_1c1_t1_port: + - link_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: capability: tosca.capabilities.network.Linkable node: 1c1_scalling_instance_network relationship: tosca.relationships.network.LinksTo @@ -403,41 +403,41 @@ topology_template: directives: - substitutable properties: + port_1c2_catalog_instance_t1_port_0_network: + - get_input: oam_net_name compute_1c2_catalog_instance_availability_zone: - get_input: availabilityzone_name - vm_flavor_name: - get_input: pd_flavor_name - vm_image_name: - get_input: pd_image_name - port_1c2_t2_port_ip_requirements: + port_1c2_catalog_instance_t1_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: false floating_ip_count_required: is_required: false - port_1c2_t1_port_mac_requirements: + vm_flavor_name: + get_input: pd_flavor_name + port_1c2_catalog_instance_t2_port_0_network: + - 1c2_catalog_instance_network + vm_image_name: + get_input: pd_image_name + port_1c2_catalog_instance_t1_port_0_mac_requirements: + mac_count_required: + is_required: false + port_1c2_catalog_instance_t2_port_0_mac_requirements: mac_count_required: is_required: false - port_1c2_t2_port_network: - - 1c2_catalog_instance_network compute_1c2_catalog_instance_name: - get_input: - 1c2_catalog_instance_names - 1 - port_1c2_t1_port_network: - - get_input: oam_net_name - port_1c2_t2_port_mac_requirements: - mac_count_required: - is_required: false - compute_1c2_catalog_instance_user_data_format: - - RAW1 - port_1c2_t1_port_network_role_tag: oam - port_1c2_t1_port_ip_requirements: + port_1c2_catalog_instance_t2_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: false floating_ip_count_required: is_required: false + compute_1c2_catalog_instance_user_data_format: + - RAW1 + port_1c2_catalog_instance_t1_port_0_network_role_tag: oam compute_1c2_catalog_instance_scheduler_hints: - group: BE_Affinity_group service_template_filter: @@ -449,7 +449,7 @@ topology_template: - service_template_filter - index_value requirements: - - link_1c2_catalog_instance_1c2_t2_port: + - link_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: capability: tosca.capabilities.network.Linkable node: 1c2_catalog_instance_network relationship: tosca.relationships.network.LinksTo @@ -458,43 +458,43 @@ topology_template: directives: - substitutable properties: + port_1c2_catalog_instance_t1_port_0_network: + - get_input: oam_net_name compute_1c2_catalog_instance_availability_zone: - get_input: availabilityzone_name - vm_flavor_name: - get_input: pd_flavor_name - vm_image_name: - get_input: pd_image_name - port_1c2_t2_port_ip_requirements: + port_1c2_catalog_instance_t1_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: false floating_ip_count_required: is_required: false - port_1c2_t1_port_mac_requirements: + vm_flavor_name: + get_input: pd_flavor_name + port_1c2_catalog_instance_t2_port_0_network: + - 1c2_catalog_instance_network + vm_image_name: + get_input: pd_image_name + port_1c2_catalog_instance_t1_port_0_mac_requirements: + mac_count_required: + is_required: false + port_1c2_catalog_instance_t2_port_0_mac_requirements: mac_count_required: is_required: false - port_1c2_t2_port_network: - - 1c2_catalog_instance_network compute_1c2_catalog_instance_name: - get_input: - 1c2_catalog_instance_names - 2 - port_1c2_t1_port_network: - - get_input: oam_net_name - port_1c2_t2_port_mac_requirements: - mac_count_required: - is_required: false - compute_1c2_catalog_instance_user_data_format: - - get_attribute: - - abstract_1c2_catalog_instance_0 - - 1c2_catalog_instance_instance_name - port_1c2_t1_port_network_role_tag: oam - port_1c2_t1_port_ip_requirements: + port_1c2_catalog_instance_t2_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: false floating_ip_count_required: is_required: false + compute_1c2_catalog_instance_user_data_format: + - get_attribute: + - abstract_1c2_catalog_instance_0 + - 1c2_catalog_instance_instance_name + port_1c2_catalog_instance_t1_port_0_network_role_tag: oam compute_1c2_catalog_instance_scheduler_hints: - group: BE_Affinity_group service_template_filter: @@ -506,7 +506,7 @@ topology_template: - service_template_filter - index_value requirements: - - link_1c2_catalog_instance_1c2_t2_port: + - link_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: capability: tosca.capabilities.network.Linkable node: 1c2_catalog_instance_network relationship: tosca.relationships.network.LinksTo @@ -521,10 +521,10 @@ topology_template: dhcp_agent_ids: get_attribute: - abstract_1c2_catalog_instance_1 - - 1c2_catalog_instance_1c2_t1_port_tenant_id + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0_tenant_id - get_attribute: - abstract_1c2_catalog_instance_0 - - 1c2_catalog_instance_1c2_t1_port_tenant_id + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0_tenant_id - get_attribute: - abstract_1c2_catalog_instance_0 - 1c2_catalog_instance_instance_name @@ -540,10 +540,10 @@ topology_template: - 1c1_scalling_instance_instance_name - get_attribute: - abstract_1c1_scalling_instance - - 1c1_scalling_instance_1c1_t2_port_tenant_id + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0_tenant_id - get_attribute: - abstract_1c1_scalling_instance - - 1c1_scalling_instance_1c1_t2_port_tenant_id + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0_tenant_id admin_state_up: get_attribute: - abstract_a_single_1a @@ -568,10 +568,10 @@ topology_template: - b_single_1b_instance_name - get_attribute: - abstract_b_single_1b - - b_single_1b_1b_t1_port_tenant_id + - b_single_1b_b_single_1b_t1_port_0_tenant_id - get_attribute: - abstract_b_single_1b_1 - - b_single_1b_1b_t1_port_tenant_id + - b_single_1b_b_single_1b_t1_port_0_tenant_id dependsOn_network: type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net properties: @@ -579,11 +579,11 @@ topology_template: get_input: net_name requirements: - dependency: - capability: feature_1c2_catalog_instance_1c2_t1_port + capability: feature_1c2_catalog_instance_1c2_catalog_instance_t1_port_0 node: abstract_1c2_catalog_instance_1 relationship: tosca.relationships.DependsOn - dependency: - capability: feature_1c2_catalog_instance_1c2_t1_port + capability: feature_1c2_catalog_instance_1c2_catalog_instance_t1_port_0 node: abstract_1c2_catalog_instance_0 relationship: tosca.relationships.DependsOn - dependency: @@ -599,7 +599,7 @@ topology_template: node: abstract_1c1_scalling_instance relationship: tosca.relationships.DependsOn - dependency: - capability: feature_1c1_scalling_instance_1c1_t2_port + capability: feature_1c1_scalling_instance_1c1_scalling_instance_t2_port_0 node: abstract_1c1_scalling_instance relationship: tosca.relationships.DependsOn - dependency: @@ -611,11 +611,11 @@ topology_template: node: abstract_b_single_1b_1 relationship: tosca.relationships.DependsOn - dependency: - capability: feature_b_single_1b_1b_t1_port + capability: feature_b_single_1b_b_single_1b_t1_port_0 node: abstract_b_single_1b relationship: tosca.relationships.DependsOn - dependency: - capability: feature_b_single_1b_1b_t1_port + capability: feature_b_single_1b_b_single_1b_t1_port_0 node: abstract_b_single_1b_1 relationship: tosca.relationships.DependsOn - dependency: @@ -814,39 +814,39 @@ topology_template: directives: - substitutable properties: + port_b_single_1b_t1_port_0_network_role_tag: oam + port_b_single_1b_t2_port_0_network: + - b_single_1b_network vm_flavor_name: get_input: pd_flavor_name - port_1b_t1_port_ip_requirements: - - ip_version: 4 - ip_count_required: - is_required: false - floating_ip_count_required: - is_required: false vm_image_name: get_input: pd_image_name compute_b_single_1b_user_data_format: - RAW - port_1b_t2_port_mac_requirements: - mac_count_required: + port_b_single_1b_t1_port_0_ip_requirements: + - ip_version: 4 + ip_count_required: + is_required: false + floating_ip_count_required: is_required: false compute_b_single_1b_availability_zone: - get_input: availabilityzone_name compute_b_single_1b_scheduler_hints: - group: BE_Affinity_group - port_1b_t2_port_ip_requirements: + port_b_single_1b_t1_port_0_mac_requirements: + mac_count_required: + is_required: false + port_b_single_1b_t1_port_0_network: + - get_input: oam_net_name + port_b_single_1b_t2_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: false floating_ip_count_required: is_required: false - port_1b_t1_port_network_role_tag: oam - port_1b_t1_port_mac_requirements: + port_b_single_1b_t2_port_0_mac_requirements: mac_count_required: is_required: false - port_1b_t2_port_network: - - b_single_1b_network - port_1b_t1_port_network: - - get_input: oam_net_name compute_b_single_1b_name: - get_input: - b_single_1b_names @@ -860,7 +860,7 @@ topology_template: - service_template_filter - index_value requirements: - - link_b_single_1b_1b_t2_port: + - link_b_single_1b_b_single_1b_t2_port_0: capability: tosca.capabilities.network.Linkable node: b_single_1b_network relationship: tosca.relationships.network.LinksTo @@ -911,10 +911,10 @@ topology_template: value: get_attribute: - abstract_1c2_catalog_instance_1 - - 1c2_catalog_instance_1c2_t1_port_tenant_id + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0_tenant_id - get_attribute: - abstract_1c2_catalog_instance_0 - - 1c2_catalog_instance_1c2_t1_port_tenant_id + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0_tenant_id - get_attribute: - abstract_1c2_catalog_instance_0 - 1c2_catalog_instance_instance_name @@ -931,10 +931,10 @@ topology_template: - 1c1_scalling_instance_instance_name - get_attribute: - abstract_1c1_scalling_instance - - 1c1_scalling_instance_1c1_t2_port_tenant_id + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0_tenant_id - get_attribute: - abstract_1c1_scalling_instance - - 1c1_scalling_instance_1c1_t2_port_tenant_id + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0_tenant_id out4: value: get_attribute: @@ -945,10 +945,10 @@ topology_template: - b_single_1b_instance_name - get_attribute: - abstract_b_single_1b - - b_single_1b_1b_t1_port_tenant_id + - b_single_1b_b_single_1b_t1_port_0_tenant_id - get_attribute: - abstract_b_single_1b_1 - - b_single_1b_1b_t1_port_tenant_id + - b_single_1b_b_single_1b_t1_port_0_tenant_id out5: value: get_attribute: diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c1_scalling_instanceServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c1_scalling_instanceServiceTemplate.yaml index 15620d7809..5be7399e92 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c1_scalling_instanceServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c1_scalling_instanceServiceTemplate.yaml @@ -11,86 +11,71 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_1c1_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_1c1_t2_port_vlan_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements compute_1c1_scalling_instance_user_data_format: type: list required: true entry_schema: type: string - port_1c1_t2_port_related_networks: + port_1c1_scalling_instance_t1_port_0_fixed_ips: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c1_t2_port_network_role_tag: - type: string - required: true - vm_flavor_name: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_1c1_scalling_instance_t1_port_0_network_role_tag: type: string required: true - port_1c1_t1_port_related_networks: + port_1c1_scalling_instance_t2_port_0_related_networks: type: list required: true entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c1_t1_port_ip_requirements: + port_1c1_scalling_instance_t1_port_0_network: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - vm_image_name: + type: string + vm_flavor_name: type: string required: true - compute_1c1_scalling_instance_name: + port_1c1_scalling_instance_t2_port_0_fixed_ips: type: list required: true entry_schema: - type: string - port_1c1_t1_port_name: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_1c1_scalling_instance_t1_port_0_ip_requirements: type: list required: true entry_schema: - type: string - port_1c1_t1_port_network: - type: list + type: org.openecomp.datatypes.network.IpRequirements + port_1c1_scalling_instance_t1_port_0_network_role: + type: string required: true - entry_schema: - type: string - port_1c1_t2_port_fixed_ips: - type: list + port_1c1_scalling_instance_t2_port_0_subnetpoolid: + type: string required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_1c1_t2_port_network: - type: list + port_1c1_scalling_instance_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: string - port_1c1_t1_port_fixed_ips: - type: list + vm_image_name: + type: string required: true - entry_schema: - type: org.openecomp.datatypes.heat.neutron.port.FixedIps - port_1c1_t1_port_vlan_requirements: + compute_1c1_scalling_instance_name: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1c1_t2_port_ip_requirements: - type: list + type: string + port_1c1_scalling_instance_t2_port_0_network_role: + type: string required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1c1_t1_port_mac_requirements: + port_1c1_scalling_instance_t1_port_0_mac_requirements: type: org.openecomp.datatypes.network.MacRequirements required: true + port_1c1_scalling_instance_t1_port_0_subnetpoolid: + type: string + required: true + port_1c1_scalling_instance_t2_port_0_order: + type: integer + required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -98,82 +83,97 @@ topology_template: default: 0 constraints: - greater_or_equal: 0 - port_1c1_t2_port_network_role: - type: string - required: true - port_1c1_t2_port_order: + port_1c1_scalling_instance_t1_port_0_order: type: integer required: true - port_1c1_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements + port_1c1_scalling_instance_t2_port_0_vlan_requirements: + type: list required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_1c1_scalling_instance_t1_port_0_name: + type: list + required: true + entry_schema: + type: string compute_1c1_scalling_instance_availability_zone: type: list required: true entry_schema: type: string - port_1c1_t2_port_subnetpoolid: - type: string + port_1c1_scalling_instance_t2_port_0_ip_requirements: + type: list required: true - port_1c1_t2_port_name: + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + port_1c1_scalling_instance_t2_port_0_name: type: list required: true entry_schema: type: string + port_1c1_scalling_instance_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_1c1_scalling_instance_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true compute_1c1_scalling_instance_scheduler_hints: type: list required: true entry_schema: type: json - port_1c1_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_1c1_t1_port_subnetpoolid: - type: string + port_1c1_scalling_instance_t1_port_0_vlan_requirements: + type: list required: true - port_1c1_t1_port_network_role_tag: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_1c1_scalling_instance_t2_port_0_network_role_tag: type: string required: true - port_1c1_t1_port_network_role: - type: string + port_1c1_scalling_instance_t1_port_0_related_networks: + type: list required: true - port_1c1_t1_port_order: - type: integer + entry_schema: + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_1c1_scalling_instance_t2_port_0_network: + type: list required: true + entry_schema: + type: string node_templates: - 1c1_scalling_instance_1c1_t1_port: + 1c1_scalling_instance_1c1_scalling_instance_t2_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: mac_requirements: - get_input: port_1c1_t1_port_mac_requirements + get_input: port_1c1_scalling_instance_t2_port_0_mac_requirements order: - get_input: port_1c1_t1_port_order + get_input: port_1c1_scalling_instance_t2_port_0_order exCP_naming: - get_input: port_1c1_t1_port_exCP_naming + get_input: port_1c1_scalling_instance_t2_port_0_exCP_naming vlan_requirements: - get_input: port_1c1_t1_port_vlan_requirements + get_input: port_1c1_scalling_instance_t2_port_0_vlan_requirements subinterface_indicator: false ip_requirements: - get_input: port_1c1_t1_port_ip_requirements + get_input: port_1c1_scalling_instance_t2_port_0_ip_requirements related_networks: - get_input: port_1c1_t1_port_related_networks + get_input: port_1c1_scalling_instance_t2_port_0_related_networks network_role_tag: - get_input: port_1c1_t1_port_network_role_tag + get_input: port_1c1_scalling_instance_t2_port_0_network_role_tag network_role: - get_input: port_1c1_t1_port_network_role + get_input: port_1c1_scalling_instance_t2_port_0_network_role fixed_ips: get_input: - - port_1c1_t1_port_fixed_ips + - port_1c1_scalling_instance_t2_port_0_fixed_ips - index_value subnetpoolid: - get_input: port_1c1_t1_port_subnetpoolid + get_input: port_1c1_scalling_instance_t2_port_0_subnetpoolid name: get_input: - - port_1c1_t1_port_name + - port_1c1_scalling_instance_t2_port_0_name - index_value network: get_input: - - port_1c1_t1_port_network + - port_1c1_scalling_instance_t2_port_0_network - index_value requirements: - binding: @@ -203,39 +203,39 @@ topology_template: get_input: - compute_1c1_scalling_instance_user_data_format - index_value - 1c1_scalling_instance_1c1_t2_port: + 1c1_scalling_instance_1c1_scalling_instance_t1_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: mac_requirements: - get_input: port_1c1_t2_port_mac_requirements + get_input: port_1c1_scalling_instance_t1_port_0_mac_requirements order: - get_input: port_1c1_t2_port_order + get_input: port_1c1_scalling_instance_t1_port_0_order exCP_naming: - get_input: port_1c1_t2_port_exCP_naming + get_input: port_1c1_scalling_instance_t1_port_0_exCP_naming vlan_requirements: - get_input: port_1c1_t2_port_vlan_requirements + get_input: port_1c1_scalling_instance_t1_port_0_vlan_requirements subinterface_indicator: false ip_requirements: - get_input: port_1c1_t2_port_ip_requirements + get_input: port_1c1_scalling_instance_t1_port_0_ip_requirements related_networks: - get_input: port_1c1_t2_port_related_networks + get_input: port_1c1_scalling_instance_t1_port_0_related_networks network_role_tag: - get_input: port_1c1_t2_port_network_role_tag + get_input: port_1c1_scalling_instance_t1_port_0_network_role_tag network_role: - get_input: port_1c1_t2_port_network_role + get_input: port_1c1_scalling_instance_t1_port_0_network_role fixed_ips: get_input: - - port_1c1_t2_port_fixed_ips + - port_1c1_scalling_instance_t1_port_0_fixed_ips - index_value subnetpoolid: - get_input: port_1c1_t2_port_subnetpoolid + get_input: port_1c1_scalling_instance_t1_port_0_subnetpoolid name: get_input: - - port_1c1_t2_port_name + - port_1c1_scalling_instance_t1_port_0_name - index_value network: get_input: - - port_1c1_t2_port_network + - port_1c1_scalling_instance_t1_port_0_network - index_value requirements: - binding: @@ -249,11 +249,11 @@ topology_template: get_attribute: - 1c1_scalling_instance - instance_name - 1c1_scalling_instance_1c1_t2_port_tenant_id: + 1c1_scalling_instance_1c1_scalling_instance_t2_port_0_tenant_id: type: string value: get_attribute: - - 1c1_scalling_instance_1c1_t2_port + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 - tenant_id substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.1c1_scalling_instance @@ -273,114 +273,111 @@ topology_template: disk.read.bytes_1c1_scalling_instance: - 1c1_scalling_instance - disk.read.bytes - network.outgoing.packets.rate_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.outgoing.packets.rate - network.incoming.packets.rate_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.incoming.packets.rate + attachment_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - attachment + binding_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - binding + binding_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - binding disk.usage_1c1_scalling_instance: - 1c1_scalling_instance - disk.usage + forwarder_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - forwarder memory.resident_1c1_scalling_instance: - 1c1_scalling_instance - memory.resident - network.incoming.bytes.rate_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.incoming.bytes.rate cpu_1c1_scalling_instance: - 1c1_scalling_instance - cpu - forwarder_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port + forwarder_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 - forwarder disk.write.bytes_1c1_scalling_instance: - 1c1_scalling_instance - disk.write.bytes - network.incoming.packets.rate_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.incoming.packets.rate - network.incoming.bytes_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.incoming.bytes disk.write.bytes.rate_1c1_scalling_instance: - 1c1_scalling_instance - disk.write.bytes.rate disk.device.allocation_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.allocation - network.incoming.bytes.rate_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.incoming.bytes.rate + network.outgoing.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.outgoing.bytes.rate feature_1c1_scalling_instance: - 1c1_scalling_instance - feature + network.outgoing.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.outgoing.bytes.rate disk.device.write.requests.rate_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.write.requests.rate - forwarder_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - forwarder disk.read.bytes.rate_1c1_scalling_instance: - 1c1_scalling_instance - disk.read.bytes.rate - network.outpoing.packets_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.outpoing.packets scalable_1c1_scalling_instance: - 1c1_scalling_instance - scalable disk.device.read.bytes_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.read.bytes - binding_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - binding disk.device.write.bytes_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.write.bytes disk.read.requests_1c1_scalling_instance: - 1c1_scalling_instance - disk.read.requests - network.incoming.packets_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.incoming.packets vcpus_1c1_scalling_instance: - 1c1_scalling_instance - vcpus - network.outgoing.bytes_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.outgoing.bytes + network.incoming.packets_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.incoming.packets host_1c1_scalling_instance: - 1c1_scalling_instance - host + network.outgoing.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.outgoing.packets.rate disk.write.requests_1c1_scalling_instance: - 1c1_scalling_instance - disk.write.requests - feature_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port + network.incoming.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.incoming.packets.rate + feature_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 - feature - binding_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - binding + network.outpoing.packets_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.outpoing.packets disk.device.read.requests.rate_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.read.requests.rate - attachment_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - attachment disk.device.read.bytes.rate_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.read.bytes.rate - network.outgoing.packets.rate_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.outgoing.packets.rate + network.incoming.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.incoming.bytes.rate + attachment_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - attachment disk.device.iops_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.iops disk.device.capacity_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.capacity + network.incoming.bytes_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.incoming.bytes disk.capacity_1c1_scalling_instance: - 1c1_scalling_instance - disk.capacity @@ -390,21 +387,24 @@ topology_template: cpu_util_1c1_scalling_instance: - 1c1_scalling_instance - cpu_util + network.outgoing.bytes_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.outgoing.bytes disk.device.read.requests_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.read.requests disk.device.write.bytes.rate_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.write.bytes.rate + network.outgoing.bytes_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.outgoing.bytes + network.incoming.packets_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.incoming.packets disk.device.write.requests_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.write.requests - network.outgoing.bytes.rate_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.outgoing.bytes.rate - network.outgoing.bytes_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.outgoing.bytes disk.latency_1c1_scalling_instance: - 1c1_scalling_instance - disk.latency @@ -414,42 +414,42 @@ topology_template: disk.device.usage_1c1_scalling_instance: - 1c1_scalling_instance - disk.device.usage - network.incoming.packets_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - network.incoming.packets disk.allocation_1c1_scalling_instance: - 1c1_scalling_instance - disk.allocation - feature_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - feature memory.usage_1c1_scalling_instance: - 1c1_scalling_instance - memory.usage - network.incoming.bytes_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.incoming.bytes - network.outgoing.bytes.rate_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port - - network.outgoing.bytes.rate os_1c1_scalling_instance: - 1c1_scalling_instance - os disk.iops_1c1_scalling_instance: - 1c1_scalling_instance - disk.iops - network.outpoing.packets_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port + network.outgoing.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.outgoing.packets.rate + network.outpoing.packets_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 - network.outpoing.packets - attachment_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - attachment cpu.delta_1c1_scalling_instance: - 1c1_scalling_instance - cpu.delta memory_1c1_scalling_instance: - 1c1_scalling_instance - memory + feature_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - feature + network.incoming.bytes.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.incoming.bytes.rate + network.incoming.bytes_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 + - network.incoming.bytes + network.incoming.packets.rate_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - network.incoming.packets.rate instance_1c1_scalling_instance: - 1c1_scalling_instance - instance @@ -457,17 +457,17 @@ topology_template: dependency_1c1_scalling_instance: - 1c1_scalling_instance - dependency - link_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port - - link - dependency_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port + dependency_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 - dependency - dependency_1c1_scalling_instance_1c1_t1_port: - - 1c1_scalling_instance_1c1_t1_port + dependency_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 - dependency - link_1c1_scalling_instance_1c1_t2_port: - - 1c1_scalling_instance_1c1_t2_port + link_1c1_scalling_instance_1c1_scalling_instance_t2_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t2_port_0 + - link + link_1c1_scalling_instance_1c1_scalling_instance_t1_port_0: + - 1c1_scalling_instance_1c1_scalling_instance_t1_port_0 - link local_storage_1c1_scalling_instance: - 1c1_scalling_instance diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c2_catalog_instanceServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c2_catalog_instanceServiceTemplate.yaml index ff4f00e722..07e9605032 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c2_catalog_instanceServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_1c2_catalog_instanceServiceTemplate.yaml @@ -11,69 +11,63 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_1c2_t2_port_order: - type: integer - required: true - compute_1c2_catalog_instance_availability_zone: + port_1c2_catalog_instance_t1_port_0_network: type: list required: true entry_schema: type: string - port_1c2_t2_port_subnetpoolid: - type: string + port_1c2_catalog_instance_t2_port_0_vlan_requirements: + type: list required: true - port_1c2_t1_port_related_networks: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + compute_1c2_catalog_instance_availability_zone: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c2_t2_port_network_role: - type: string + type: string + port_1c2_catalog_instance_t1_port_0_ip_requirements: + type: list required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements vm_flavor_name: type: string required: true - port_1c2_t2_port_network_role_tag: + port_1c2_catalog_instance_t2_port_0_network_role_tag: type: string required: true - port_1c2_t1_port_vlan_requirements: + port_1c2_catalog_instance_t2_port_0_network: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: string vm_image_name: type: string required: true - port_1c2_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_1c2_catalog_instance_t1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - port_1c2_t1_port_order: - type: integer + port_1c2_catalog_instance_t2_port_0_network_role: + type: string required: true - port_1c2_t1_port_subnetpoolid: + port_1c2_catalog_instance_t1_port_0_subnetpoolid: type: string required: true - port_1c2_t2_port_ip_requirements: - type: list + port_1c2_catalog_instance_t2_port_0_order: + type: integer required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1c2_t2_port_related_networks: + port_1c2_catalog_instance_t2_port_0_related_networks: type: list required: true entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1c2_t1_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_1c2_t1_port_network_role: - type: string + port_1c2_catalog_instance_t1_port_0_order: + type: integer required: true - port_1c2_t2_port_network: - type: list + port_1c2_catalog_instance_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: string index_value: type: integer description: Index value of this substitution service template runtime instance @@ -86,35 +80,41 @@ topology_template: required: true entry_schema: type: string - port_1c2_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_1c2_t1_port_network: + port_1c2_catalog_instance_t2_port_0_ip_requirements: type: list required: true entry_schema: - type: string - port_1c2_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_1c2_t2_port_vlan_requirements: + type: org.openecomp.datatypes.network.IpRequirements + port_1c2_catalog_instance_t1_port_0_related_networks: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_1c2_catalog_instance_t2_port_0_subnetpoolid: + type: string + required: true + port_1c2_catalog_instance_t1_port_0_network_role: + type: string + required: true + port_1c2_catalog_instance_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true compute_1c2_catalog_instance_user_data_format: type: list required: true entry_schema: type: string - port_1c2_t1_port_network_role_tag: - type: string - required: true - port_1c2_t1_port_ip_requirements: + port_1c2_catalog_instance_t1_port_0_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.IpRequirements + type: org.openecomp.datatypes.network.VlanRequirements + port_1c2_catalog_instance_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_1c2_catalog_instance_t1_port_0_network_role_tag: + type: string + required: true compute_1c2_catalog_instance_scheduler_hints: type: list required: true @@ -144,62 +144,62 @@ topology_template: get_input: - compute_1c2_catalog_instance_user_data_format - index_value - 1c2_catalog_instance_1c2_t2_port: + 1c2_catalog_instance_1c2_catalog_instance_t1_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_1c2_t2_port_exCP_naming + get_input: port_1c2_catalog_instance_t1_port_0_exCP_naming vlan_requirements: - get_input: port_1c2_t2_port_vlan_requirements + get_input: port_1c2_catalog_instance_t1_port_0_vlan_requirements subinterface_indicator: false related_networks: - get_input: port_1c2_t2_port_related_networks + get_input: port_1c2_catalog_instance_t1_port_0_related_networks ip_requirements: - get_input: port_1c2_t2_port_ip_requirements + get_input: port_1c2_catalog_instance_t1_port_0_ip_requirements network_role_tag: - get_input: port_1c2_t2_port_network_role_tag + get_input: port_1c2_catalog_instance_t1_port_0_network_role_tag mac_requirements: - get_input: port_1c2_t2_port_mac_requirements + get_input: port_1c2_catalog_instance_t1_port_0_mac_requirements order: - get_input: port_1c2_t2_port_order + get_input: port_1c2_catalog_instance_t1_port_0_order network_role: - get_input: port_1c2_t2_port_network_role + get_input: port_1c2_catalog_instance_t1_port_0_network_role subnetpoolid: - get_input: port_1c2_t2_port_subnetpoolid + get_input: port_1c2_catalog_instance_t1_port_0_subnetpoolid network: get_input: - - port_1c2_t2_port_network + - port_1c2_catalog_instance_t1_port_0_network - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: 1c2_catalog_instance relationship: tosca.relationships.network.BindsTo - 1c2_catalog_instance_1c2_t1_port: + 1c2_catalog_instance_1c2_catalog_instance_t2_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_1c2_t1_port_exCP_naming + get_input: port_1c2_catalog_instance_t2_port_0_exCP_naming vlan_requirements: - get_input: port_1c2_t1_port_vlan_requirements + get_input: port_1c2_catalog_instance_t2_port_0_vlan_requirements subinterface_indicator: false related_networks: - get_input: port_1c2_t1_port_related_networks + get_input: port_1c2_catalog_instance_t2_port_0_related_networks ip_requirements: - get_input: port_1c2_t1_port_ip_requirements + get_input: port_1c2_catalog_instance_t2_port_0_ip_requirements network_role_tag: - get_input: port_1c2_t1_port_network_role_tag + get_input: port_1c2_catalog_instance_t2_port_0_network_role_tag mac_requirements: - get_input: port_1c2_t1_port_mac_requirements + get_input: port_1c2_catalog_instance_t2_port_0_mac_requirements order: - get_input: port_1c2_t1_port_order + get_input: port_1c2_catalog_instance_t2_port_0_order network_role: - get_input: port_1c2_t1_port_network_role + get_input: port_1c2_catalog_instance_t2_port_0_network_role subnetpoolid: - get_input: port_1c2_t1_port_subnetpoolid + get_input: port_1c2_catalog_instance_t2_port_0_subnetpoolid network: get_input: - - port_1c2_t1_port_network + - port_1c2_catalog_instance_t2_port_0_network - index_value requirements: - binding: @@ -213,11 +213,11 @@ topology_template: get_attribute: - 1c2_catalog_instance - instance_name - 1c2_catalog_instance_1c2_t1_port_tenant_id: + 1c2_catalog_instance_1c2_catalog_instance_t1_port_0_tenant_id: type: string value: get_attribute: - - 1c2_catalog_instance_1c2_t1_port + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 - tenant_id substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance @@ -225,57 +225,33 @@ topology_template: disk.device.capacity_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.capacity - network.incoming.packets.rate_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.incoming.packets.rate disk.read.bytes.rate_1c2_catalog_instance: - 1c2_catalog_instance - disk.read.bytes.rate memory.usage_1c2_catalog_instance: - 1c2_catalog_instance - memory.usage - network.outpoing.packets_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.outpoing.packets + attachment_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - attachment disk.write.bytes.rate_1c2_catalog_instance: - 1c2_catalog_instance - disk.write.bytes.rate - network.incoming.bytes.rate_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.incoming.bytes.rate - binding_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - binding - network.incoming.packets_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.incoming.packets cpu_util_1c2_catalog_instance: - 1c2_catalog_instance - cpu_util - network.outpoing.packets_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.outpoing.packets - feature_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - feature - attachment_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - attachment - network.incoming.bytes_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.incoming.bytes + network.incoming.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.incoming.bytes.rate cpu_1c2_catalog_instance: - 1c2_catalog_instance - cpu disk.read.requests_1c2_catalog_instance: - 1c2_catalog_instance - disk.read.requests - network.incoming.bytes.rate_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.incoming.bytes.rate - binding_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - binding + network.outpoing.packets_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.outpoing.packets disk.ephemeral.size_1c2_catalog_instance: - 1c2_catalog_instance - disk.ephemeral.size @@ -285,63 +261,75 @@ topology_template: memory.resident_1c2_catalog_instance: - 1c2_catalog_instance - memory.resident + network.outpoing.packets_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.outpoing.packets disk.device.write.requests.rate_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.write.requests.rate - network.incoming.bytes_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.incoming.bytes os_1c2_catalog_instance: - 1c2_catalog_instance - os disk.device.iops_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.iops + binding_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - binding + feature_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - feature + network.outgoing.bytes_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.outgoing.bytes + network.outgoing.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.outgoing.bytes.rate + network.outgoing.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.outgoing.packets.rate + network.incoming.packets_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.incoming.packets endpoint_1c2_catalog_instance: - 1c2_catalog_instance - endpoint disk.allocation_1c2_catalog_instance: - 1c2_catalog_instance - disk.allocation + network.incoming.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.incoming.bytes.rate disk.latency_1c2_catalog_instance: - 1c2_catalog_instance - disk.latency - network.outgoing.bytes.rate_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.outgoing.bytes.rate - network.outgoing.bytes_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.outgoing.bytes + network.incoming.bytes_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.incoming.bytes disk.iops_1c2_catalog_instance: - 1c2_catalog_instance - disk.iops - network.outgoing.packets.rate_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.outgoing.packets.rate - network.incoming.packets_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.incoming.packets + forwarder_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - forwarder + attachment_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - attachment vcpus_1c2_catalog_instance: - 1c2_catalog_instance - vcpus disk.device.latency_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.latency - attachment_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - attachment - forwarder_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - forwarder - network.outgoing.packets.rate_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.outgoing.packets.rate disk.read.bytes_1c2_catalog_instance: - 1c2_catalog_instance - disk.read.bytes instance_1c2_catalog_instance: - 1c2_catalog_instance - instance + network.incoming.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.incoming.packets.rate disk.capacity_1c2_catalog_instance: - 1c2_catalog_instance - disk.capacity @@ -351,18 +339,12 @@ topology_template: disk.device.read.bytes.rate_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.read.bytes.rate - forwarder_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - forwarder disk.device.allocation_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.allocation disk.device.read.bytes_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.read.bytes - network.outgoing.bytes.rate_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - network.outgoing.bytes.rate disk.device.read.requests_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.read.requests @@ -384,18 +366,30 @@ topology_template: disk.device.usage_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.usage - network.outgoing.bytes_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port + binding_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - binding + network.incoming.packets_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.incoming.packets + feature_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - feature + network.outgoing.bytes_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 - network.outgoing.bytes + network.outgoing.bytes.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.outgoing.bytes.rate disk.usage_1c2_catalog_instance: - 1c2_catalog_instance - disk.usage + network.outgoing.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.outgoing.packets.rate feature_1c2_catalog_instance: - 1c2_catalog_instance - feature - network.incoming.packets.rate_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - network.incoming.packets.rate memory_1c2_catalog_instance: - 1c2_catalog_instance - memory @@ -411,28 +405,34 @@ topology_template: cpu.delta_1c2_catalog_instance: - 1c2_catalog_instance - cpu.delta - feature_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port - - feature + forwarder_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - forwarder + network.incoming.packets.rate_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 + - network.incoming.packets.rate + network.incoming.bytes_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - network.incoming.bytes disk.device.read.requests.rate_1c2_catalog_instance: - 1c2_catalog_instance - disk.device.read.requests.rate requirements: - link_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port - - link dependency_1c2_catalog_instance: - 1c2_catalog_instance - dependency local_storage_1c2_catalog_instance: - 1c2_catalog_instance - local_storage - dependency_1c2_catalog_instance_1c2_t1_port: - - 1c2_catalog_instance_1c2_t1_port + dependency_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 - dependency - dependency_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port + link_1c2_catalog_instance_1c2_catalog_instance_t2_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t2_port_0 + - link + dependency_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 - dependency - link_1c2_catalog_instance_1c2_t2_port: - - 1c2_catalog_instance_1c2_t2_port + link_1c2_catalog_instance_1c2_catalog_instance_t1_port_0: + - 1c2_catalog_instance_1c2_catalog_instance_t1_port_0 - link
\ 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/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1bServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1bServiceTemplate.yaml index 8bf062f993..cd92a68dd2 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1bServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1bServiceTemplate.yaml @@ -11,35 +11,45 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_1b_t1_port_order: - type: integer + port_b_single_1b_t1_port_0_network_role_tag: + type: string + required: true + port_b_single_1b_t1_port_0_related_networks: + type: list required: true - port_1b_t1_port_network_role: + entry_schema: + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_b_single_1b_t2_port_0_subnetpoolid: type: string required: true - port_1b_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_b_single_1b_t1_port_0_network_role: + type: string + required: true + port_b_single_1b_t2_port_0_network: + type: list required: true + entry_schema: + type: string vm_flavor_name: type: string required: true - port_1b_t2_port_related_networks: + port_b_single_1b_t1_port_0_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t1_port_ip_requirements: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_related_networks: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.IpRequirements + type: org.openecomp.datatypes.network.RelatedNetworksAssignments vm_image_name: type: string required: true - port_1b_t2_port_network_role: - type: string + port_b_single_1b_t2_port_0_order: + type: integer required: true - port_1b_t2_port_order: + port_b_single_1b_t1_port_0_order: type: integer required: true compute_b_single_1b_user_data_format: @@ -47,28 +57,27 @@ topology_template: required: true entry_schema: type: string - port_1b_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_1b_t2_port_network_role_tag: - type: string + port_b_single_1b_t2_port_0_vlan_requirements: + type: list required: true - port_1b_t2_port_subnetpoolid: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_network_role: type: string required: true - port_1b_t1_port_related_networks: + port_b_single_1b_t1_port_0_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true + type: org.openecomp.datatypes.network.IpRequirements compute_b_single_1b_availability_zone: type: list required: true entry_schema: type: string + port_b_single_1b_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -81,35 +90,26 @@ topology_template: required: true entry_schema: type: json - port_1b_t2_port_vlan_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1b_t2_port_ip_requirements: - type: list + port_b_single_1b_t1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1b_t1_port_network_role_tag: + port_b_single_1b_t1_port_0_subnetpoolid: type: string required: true - port_1b_t1_port_subnetpoolid: + port_b_single_1b_t2_port_0_network_role_tag: type: string required: true - port_1b_t1_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_1b_t2_port_network: + port_b_single_1b_t2_port_0_ip_requirements: type: list required: true entry_schema: - type: string - port_1b_t1_port_vlan_requirements: - type: list + type: org.openecomp.datatypes.network.IpRequirements + port_b_single_1b_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_b_single_1b_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements compute_b_single_1b_name: type: list required: true @@ -139,63 +139,63 @@ topology_template: get_input: - compute_b_single_1b_user_data_format - index_value - b_single_1b_1b_t1_port: + b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_1b_t1_port_exCP_naming + get_input: port_b_single_1b_t2_port_0_exCP_naming vlan_requirements: - get_input: port_1b_t1_port_vlan_requirements + get_input: port_b_single_1b_t2_port_0_vlan_requirements subinterface_indicator: false related_networks: - get_input: port_1b_t1_port_related_networks + get_input: port_b_single_1b_t2_port_0_related_networks ip_requirements: - get_input: port_1b_t1_port_ip_requirements + get_input: port_b_single_1b_t2_port_0_ip_requirements network_role_tag: - get_input: port_1b_t1_port_network_role_tag + get_input: port_b_single_1b_t2_port_0_network_role_tag mac_requirements: - get_input: port_1b_t1_port_mac_requirements + get_input: port_b_single_1b_t2_port_0_mac_requirements order: - get_input: port_1b_t1_port_order + get_input: port_b_single_1b_t2_port_0_order network_role: - get_input: port_1b_t1_port_network_role + get_input: port_b_single_1b_t2_port_0_network_role subnetpoolid: - get_input: port_1b_t1_port_subnetpoolid + get_input: port_b_single_1b_t2_port_0_subnetpoolid network: - get_attribute: - - b_single_1b - - accessIPv6 + get_input: + - port_b_single_1b_t2_port_0_network + - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: b_single_1b relationship: tosca.relationships.network.BindsTo - b_single_1b_1b_t2_port: + b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_1b_t2_port_exCP_naming + get_input: port_b_single_1b_t1_port_0_exCP_naming vlan_requirements: - get_input: port_1b_t2_port_vlan_requirements + get_input: port_b_single_1b_t1_port_0_vlan_requirements subinterface_indicator: false related_networks: - get_input: port_1b_t2_port_related_networks + get_input: port_b_single_1b_t1_port_0_related_networks ip_requirements: - get_input: port_1b_t2_port_ip_requirements + get_input: port_b_single_1b_t1_port_0_ip_requirements network_role_tag: - get_input: port_1b_t2_port_network_role_tag + get_input: port_b_single_1b_t1_port_0_network_role_tag mac_requirements: - get_input: port_1b_t2_port_mac_requirements + get_input: port_b_single_1b_t1_port_0_mac_requirements order: - get_input: port_1b_t2_port_order + get_input: port_b_single_1b_t1_port_0_order network_role: - get_input: port_1b_t2_port_network_role + get_input: port_b_single_1b_t1_port_0_network_role subnetpoolid: - get_input: port_1b_t2_port_subnetpoolid + get_input: port_b_single_1b_t1_port_0_subnetpoolid network: - get_input: - - port_1b_t2_port_network - - index_value + get_attribute: + - b_single_1b + - accessIPv6 requirements: - binding: capability: tosca.capabilities.network.Bindable @@ -208,21 +208,15 @@ topology_template: get_attribute: - b_single_1b - instance_name - b_single_1b_1b_t1_port_tenant_id: + b_single_1b_b_single_1b_t1_port_0_tenant_id: type: string value: get_attribute: - - b_single_1b_1b_t1_port + - b_single_1b_b_single_1b_t1_port_0 - tenant_id substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.b_single_1b capabilities: - attachment_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - attachment - forwarder_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - forwarder endpoint_b_single_1b: - b_single_1b - endpoint @@ -232,15 +226,30 @@ topology_template: disk.iops_b_single_1b: - b_single_1b - disk.iops - network.incoming.bytes.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port + network.incoming.bytes_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.incoming.bytes + network.incoming.packets.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.packets.rate + network.incoming.bytes_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.bytes + binding_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - binding + feature_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - feature + feature_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - feature + network.incoming.bytes.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 - network.incoming.bytes.rate - network.outgoing.bytes.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.outgoing.bytes.rate - forwarder_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - forwarder + binding_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - binding scalable_b_single_1b: - b_single_1b - scalable @@ -250,24 +259,30 @@ topology_template: os_b_single_1b: - b_single_1b - os + forwarder_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - forwarder + forwarder_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - forwarder vcpus_b_single_1b: - b_single_1b - vcpus cpu_b_single_1b: - b_single_1b - cpu + network.incoming.bytes.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.bytes.rate disk.device.read.requests.rate_b_single_1b: - b_single_1b - disk.device.read.requests.rate - network.incoming.packets.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port + network.incoming.packets.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 - network.incoming.packets.rate instance_b_single_1b: - b_single_1b - instance - network.incoming.bytes.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.bytes.rate disk.read.bytes_b_single_1b: - b_single_1b - disk.read.bytes @@ -277,45 +292,36 @@ topology_template: disk.usage_b_single_1b: - b_single_1b - disk.usage - network.incoming.bytes_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.bytes disk.device.allocation_b_single_1b: - b_single_1b - disk.device.allocation - network.outgoing.packets.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port + network.outgoing.packets.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 - network.outgoing.packets.rate + network.outpoing.packets_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outpoing.packets + network.outgoing.bytes_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.outgoing.bytes disk.device.capacity_b_single_1b: - b_single_1b - disk.device.capacity disk.latency_b_single_1b: - b_single_1b - disk.latency - network.incoming.packets_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.incoming.packets - network.incoming.packets.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.packets.rate - attachment_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port + attachment_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 - attachment disk.device.write.requests_b_single_1b: - b_single_1b - disk.device.write.requests - binding_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - binding disk.ephemeral.size_b_single_1b: - b_single_1b - disk.ephemeral.size disk.write.requests.rate_b_single_1b: - b_single_1b - disk.write.requests.rate - network.outpoing.packets_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.outpoing.packets disk.device.iops_b_single_1b: - b_single_1b - disk.device.iops @@ -325,15 +331,18 @@ topology_template: memory.resident_b_single_1b: - b_single_1b - memory.resident + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.outgoing.bytes.rate disk.root.size_b_single_1b: - b_single_1b - disk.root.size - feature_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - feature - network.outgoing.bytes_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.outgoing.bytes + network.incoming.packets_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.incoming.packets + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outgoing.bytes.rate disk.capacity_b_single_1b: - b_single_1b - disk.capacity @@ -352,45 +361,39 @@ topology_template: disk.write.requests_b_single_1b: - b_single_1b - disk.write.requests - network.outgoing.packets.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outgoing.packets.rate + network.incoming.packets_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.packets disk.device.usage_b_single_1b: - b_single_1b - disk.device.usage disk.read.bytes.rate_b_single_1b: - b_single_1b - disk.read.bytes.rate - network.outgoing.bytes_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outgoing.bytes disk.device.read.requests_b_single_1b: - b_single_1b - disk.device.read.requests - network.incoming.packets_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.packets - binding_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - binding - network.outpoing.packets_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outpoing.packets + attachment_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - attachment disk.device.write.requests.rate_b_single_1b: - b_single_1b - disk.device.write.requests.rate + network.outgoing.packets.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outgoing.packets.rate + network.outpoing.packets_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.outpoing.packets memory.usage_b_single_1b: - b_single_1b - memory.usage + network.outgoing.bytes_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outgoing.bytes disk.write.bytes.rate_b_single_1b: - b_single_1b - disk.write.bytes.rate - network.incoming.bytes_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.incoming.bytes - network.outgoing.bytes.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outgoing.bytes.rate cpu.delta_b_single_1b: - b_single_1b - cpu.delta @@ -409,25 +412,22 @@ topology_template: binding_b_single_1b: - b_single_1b - binding - feature_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - feature requirements: local_storage_b_single_1b: - b_single_1b - local_storage - dependency_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - dependency + link_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - link dependency_b_single_1b: - b_single_1b - dependency - link_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - link - link_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - link - dependency_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - dependency
\ No newline at end of file + dependency_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - dependency + dependency_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - dependency + link_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - link
\ 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/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1b_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1b_1ServiceTemplate.yaml index 1da7eb2953..1eb37ca97d 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1b_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_b_single_1b_1ServiceTemplate.yaml @@ -11,35 +11,45 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_1b_t1_port_order: - type: integer + port_b_single_1b_t1_port_0_network_role_tag: + type: string + required: true + port_b_single_1b_t1_port_0_related_networks: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_b_single_1b_t2_port_0_subnetpoolid: + type: string required: true - port_1b_t1_port_network_role: + port_b_single_1b_t1_port_0_network_role: type: string required: true - port_1b_t1_port_exCP_naming: - type: org.openecomp.datatypes.Naming + port_b_single_1b_t2_port_0_network: + type: list required: true + entry_schema: + type: string vm_flavor_name: type: string required: true - port_1b_t2_port_related_networks: + port_b_single_1b_t1_port_0_vlan_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t1_port_ip_requirements: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_related_networks: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.IpRequirements + type: org.openecomp.datatypes.network.RelatedNetworksAssignments vm_image_name: type: string required: true - port_1b_t2_port_network_role: - type: string + port_b_single_1b_t2_port_0_order: + type: integer required: true - port_1b_t2_port_order: + port_b_single_1b_t1_port_0_order: type: integer required: true compute_b_single_1b_user_data_format: @@ -47,28 +57,27 @@ topology_template: required: true entry_schema: type: string - port_1b_t2_port_exCP_naming: - type: org.openecomp.datatypes.Naming - required: true - port_1b_t2_port_network_role_tag: - type: string + port_b_single_1b_t2_port_0_vlan_requirements: + type: list required: true - port_1b_t2_port_subnetpoolid: + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_b_single_1b_t2_port_0_network_role: type: string required: true - port_1b_t1_port_related_networks: + port_b_single_1b_t1_port_0_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.RelatedNetworksAssignments - port_1b_t2_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true + type: org.openecomp.datatypes.network.IpRequirements compute_b_single_1b_availability_zone: type: list required: true entry_schema: type: string + port_b_single_1b_t1_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true index_value: type: integer description: Index value of this substitution service template runtime instance @@ -81,40 +90,31 @@ topology_template: required: true entry_schema: type: json - port_1b_t2_port_vlan_requirements: - type: list - required: true - entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1b_t2_port_ip_requirements: - type: list + port_b_single_1b_t1_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements required: true - entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_1b_t1_port_network_role_tag: + port_b_single_1b_t1_port_0_subnetpoolid: type: string required: true - port_1b_t1_port_subnetpoolid: + port_b_single_1b_t2_port_0_network_role_tag: type: string required: true - port_1b_t1_port_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true - port_1b_t2_port_network: + port_b_single_1b_t1_port_0_network: type: list required: true entry_schema: type: string - port_1b_t1_port_vlan_requirements: + port_b_single_1b_t2_port_0_ip_requirements: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.VlanRequirements - port_1b_t1_port_network: - type: list + type: org.openecomp.datatypes.network.IpRequirements + port_b_single_1b_t2_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + port_b_single_1b_t2_port_0_exCP_naming: + type: org.openecomp.datatypes.Naming required: true - entry_schema: - type: string compute_b_single_1b_name: type: list required: true @@ -144,62 +144,62 @@ topology_template: get_input: - compute_b_single_1b_user_data_format - index_value - b_single_1b_1b_t1_port: + b_single_1b_b_single_1b_t2_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_1b_t1_port_exCP_naming + get_input: port_b_single_1b_t2_port_0_exCP_naming vlan_requirements: - get_input: port_1b_t1_port_vlan_requirements + get_input: port_b_single_1b_t2_port_0_vlan_requirements subinterface_indicator: false related_networks: - get_input: port_1b_t1_port_related_networks + get_input: port_b_single_1b_t2_port_0_related_networks ip_requirements: - get_input: port_1b_t1_port_ip_requirements + get_input: port_b_single_1b_t2_port_0_ip_requirements network_role_tag: - get_input: port_1b_t1_port_network_role_tag + get_input: port_b_single_1b_t2_port_0_network_role_tag mac_requirements: - get_input: port_1b_t1_port_mac_requirements + get_input: port_b_single_1b_t2_port_0_mac_requirements order: - get_input: port_1b_t1_port_order + get_input: port_b_single_1b_t2_port_0_order network_role: - get_input: port_1b_t1_port_network_role + get_input: port_b_single_1b_t2_port_0_network_role subnetpoolid: - get_input: port_1b_t1_port_subnetpoolid + get_input: port_b_single_1b_t2_port_0_subnetpoolid network: get_input: - - port_1b_t1_port_network + - port_b_single_1b_t2_port_0_network - index_value requirements: - binding: capability: tosca.capabilities.network.Bindable node: b_single_1b relationship: tosca.relationships.network.BindsTo - b_single_1b_1b_t2_port: + b_single_1b_b_single_1b_t1_port_0: type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port properties: exCP_naming: - get_input: port_1b_t2_port_exCP_naming + get_input: port_b_single_1b_t1_port_0_exCP_naming vlan_requirements: - get_input: port_1b_t2_port_vlan_requirements + get_input: port_b_single_1b_t1_port_0_vlan_requirements subinterface_indicator: false related_networks: - get_input: port_1b_t2_port_related_networks + get_input: port_b_single_1b_t1_port_0_related_networks ip_requirements: - get_input: port_1b_t2_port_ip_requirements + get_input: port_b_single_1b_t1_port_0_ip_requirements network_role_tag: - get_input: port_1b_t2_port_network_role_tag + get_input: port_b_single_1b_t1_port_0_network_role_tag mac_requirements: - get_input: port_1b_t2_port_mac_requirements + get_input: port_b_single_1b_t1_port_0_mac_requirements order: - get_input: port_1b_t2_port_order + get_input: port_b_single_1b_t1_port_0_order network_role: - get_input: port_1b_t2_port_network_role + get_input: port_b_single_1b_t1_port_0_network_role subnetpoolid: - get_input: port_1b_t2_port_subnetpoolid + get_input: port_b_single_1b_t1_port_0_subnetpoolid network: get_input: - - port_1b_t2_port_network + - port_b_single_1b_t1_port_0_network - index_value requirements: - binding: @@ -213,21 +213,15 @@ topology_template: get_attribute: - b_single_1b - instance_name - b_single_1b_1b_t1_port_tenant_id: + b_single_1b_b_single_1b_t1_port_0_tenant_id: type: string value: get_attribute: - - b_single_1b_1b_t1_port + - b_single_1b_b_single_1b_t1_port_0 - tenant_id substitution_mappings: node_type: org.openecomp.resource.abstract.nodes.b_single_1b_1 capabilities: - attachment_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - attachment - forwarder_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - forwarder endpoint_b_single_1b: - b_single_1b - endpoint @@ -237,15 +231,30 @@ topology_template: disk.iops_b_single_1b: - b_single_1b - disk.iops - network.incoming.bytes.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port + network.incoming.bytes_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.incoming.bytes + network.incoming.packets.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.packets.rate + network.incoming.bytes_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.bytes + binding_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - binding + feature_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - feature + feature_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - feature + network.incoming.bytes.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 - network.incoming.bytes.rate - network.outgoing.bytes.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.outgoing.bytes.rate - forwarder_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - forwarder + binding_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - binding scalable_b_single_1b: - b_single_1b - scalable @@ -255,24 +264,30 @@ topology_template: os_b_single_1b: - b_single_1b - os + forwarder_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - forwarder + forwarder_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - forwarder vcpus_b_single_1b: - b_single_1b - vcpus cpu_b_single_1b: - b_single_1b - cpu + network.incoming.bytes.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.bytes.rate disk.device.read.requests.rate_b_single_1b: - b_single_1b - disk.device.read.requests.rate - network.incoming.packets.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port + network.incoming.packets.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 - network.incoming.packets.rate instance_b_single_1b: - b_single_1b - instance - network.incoming.bytes.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.bytes.rate disk.read.bytes_b_single_1b: - b_single_1b - disk.read.bytes @@ -282,45 +297,36 @@ topology_template: disk.usage_b_single_1b: - b_single_1b - disk.usage - network.incoming.bytes_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.bytes disk.device.allocation_b_single_1b: - b_single_1b - disk.device.allocation - network.outgoing.packets.rate_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port + network.outgoing.packets.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 - network.outgoing.packets.rate + network.outpoing.packets_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outpoing.packets + network.outgoing.bytes_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.outgoing.bytes disk.device.capacity_b_single_1b: - b_single_1b - disk.device.capacity disk.latency_b_single_1b: - b_single_1b - disk.latency - network.incoming.packets_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.incoming.packets - network.incoming.packets.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.packets.rate - attachment_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port + attachment_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 - attachment disk.device.write.requests_b_single_1b: - b_single_1b - disk.device.write.requests - binding_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - binding disk.ephemeral.size_b_single_1b: - b_single_1b - disk.ephemeral.size disk.write.requests.rate_b_single_1b: - b_single_1b - disk.write.requests.rate - network.outpoing.packets_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.outpoing.packets disk.device.iops_b_single_1b: - b_single_1b - disk.device.iops @@ -330,15 +336,18 @@ topology_template: memory.resident_b_single_1b: - b_single_1b - memory.resident + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.outgoing.bytes.rate disk.root.size_b_single_1b: - b_single_1b - disk.root.size - feature_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - feature - network.outgoing.bytes_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.outgoing.bytes + network.incoming.packets_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.incoming.packets + network.outgoing.bytes.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outgoing.bytes.rate disk.capacity_b_single_1b: - b_single_1b - disk.capacity @@ -357,45 +366,39 @@ topology_template: disk.write.requests_b_single_1b: - b_single_1b - disk.write.requests - network.outgoing.packets.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outgoing.packets.rate + network.incoming.packets_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.incoming.packets disk.device.usage_b_single_1b: - b_single_1b - disk.device.usage disk.read.bytes.rate_b_single_1b: - b_single_1b - disk.read.bytes.rate - network.outgoing.bytes_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outgoing.bytes disk.device.read.requests_b_single_1b: - b_single_1b - disk.device.read.requests - network.incoming.packets_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.incoming.packets - binding_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - binding - network.outpoing.packets_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outpoing.packets + attachment_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - attachment disk.device.write.requests.rate_b_single_1b: - b_single_1b - disk.device.write.requests.rate + network.outgoing.packets.rate_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outgoing.packets.rate + network.outpoing.packets_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - network.outpoing.packets memory.usage_b_single_1b: - b_single_1b - memory.usage + network.outgoing.bytes_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - network.outgoing.bytes disk.write.bytes.rate_b_single_1b: - b_single_1b - disk.write.bytes.rate - network.incoming.bytes_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - network.incoming.bytes - network.outgoing.bytes.rate_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - network.outgoing.bytes.rate cpu.delta_b_single_1b: - b_single_1b - cpu.delta @@ -414,25 +417,22 @@ topology_template: binding_b_single_1b: - b_single_1b - binding - feature_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - feature requirements: local_storage_b_single_1b: - b_single_1b - local_storage - dependency_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - dependency + link_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - link dependency_b_single_1b: - b_single_1b - dependency - link_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - link - link_b_single_1b_1b_t1_port: - - b_single_1b_1b_t1_port - - link - dependency_b_single_1b_1b_t2_port: - - b_single_1b_1b_t2_port - - dependency
\ No newline at end of file + dependency_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - dependency + dependency_b_single_1b_b_single_1b_t1_port_0: + - b_single_1b_b_single_1b_t1_port_0 + - dependency + link_b_single_1b_b_single_1b_t2_port_0: + - b_single_1b_b_single_1b_t2_port_0 + - link
\ 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/mixPatterns/oneAppearancePerPattern/out/Nested_pcma_server_1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_pcma_server_1ServiceTemplate.yaml index a149bdc39c..25ffdd165b 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_pcma_server_1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/Nested_pcma_server_1ServiceTemplate.yaml @@ -11,14 +11,14 @@ node_types: derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server topology_template: inputs: - port_pcm_port_0_network_role: - type: string - required: true port_pcm_port_1_related_networks: type: list required: true entry_schema: type: org.openecomp.datatypes.network.RelatedNetworksAssignments + port_pcm_port_0_network_role: + type: string + required: true port_pcm_port_1_network_role_tag: type: string required: true @@ -65,10 +65,10 @@ topology_template: port_pcm_port_0_network_role_tag: type: string required: true - port_pcm_port_0_exCP_naming: + port_pcm_port_1_exCP_naming: type: org.openecomp.datatypes.Naming required: true - port_pcm_port_1_exCP_naming: + port_pcm_port_0_exCP_naming: type: org.openecomp.datatypes.Naming required: true port_pcm_port_1_network_role: @@ -79,16 +79,16 @@ topology_template: required: true entry_schema: type: string - port_pcm_port_0_ip_requirements: + port_pcm_port_1_security_groups: type: list required: true entry_schema: - type: org.openecomp.datatypes.network.IpRequirements - port_pcm_port_1_security_groups: + type: json + port_pcm_port_0_ip_requirements: type: list required: true entry_schema: - type: json + type: org.openecomp.datatypes.network.IpRequirements compute_pcma_server_config_drive: type: list required: true @@ -129,14 +129,14 @@ topology_template: required: true entry_schema: type: string - port_pcm_port_0_mac_requirements: - type: org.openecomp.datatypes.network.MacRequirements - required: true port_pcm_port_1_ip_requirements: type: list required: true entry_schema: type: org.openecomp.datatypes.network.IpRequirements + port_pcm_port_0_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true port_pcm_port_1_order: type: integer required: true diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/nested-no_vfc_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/nested-no_vfc_v0.1ServiceTemplate.yaml index 3398598b22..9394b15329 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/nested-no_vfc_v0.1ServiceTemplate.yaml +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/oneAppearancePerPattern/out/nested-no_vfc_v0.1ServiceTemplate.yaml @@ -123,14 +123,14 @@ topology_template: port_pcm_port_0_network_role_tag: cps port_pcm_port_1_network: - get_input: oam_net_name + port_pcm_port_1_security_groups: + - - get_input: security_group_name port_pcm_port_0_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false - port_pcm_port_1_security_groups: - - - get_input: security_group_name compute_pcma_server_config_drive: - true compute_pcma_server_user_data_format: @@ -145,15 +145,15 @@ topology_template: get_input: oam_net_ip compute_pcma_server_name: - get_input: pcma_server_name - port_pcm_port_0_mac_requirements: - mac_count_required: - is_required: false port_pcm_port_1_ip_requirements: - ip_version: 4 ip_count_required: is_required: true floating_ip_count_required: is_required: false + port_pcm_port_0_mac_requirements: + mac_count_required: + is_required: false service_template_filter: substitute_service_template: Nested_pcma_server_1ServiceTemplate.yaml count: 1 @@ -665,4 +665,4 @@ topology_template: - dependency_pcma_server_pcm_port_1 dependency_pcm_port_2: - abstract_pcma_server - - dependency_pcma_server_pcm_port_2 + - dependency_pcma_server_pcm_port_2
\ No newline at end of file |